mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
cre: configurable kerning method (off/freetype/harfbuzz) (#4167)
Bump base & crengine for HarfBuzz support.
This commit is contained in:
@@ -541,6 +541,11 @@ function CreDocument:setFontHinting(mode)
|
||||
self._document:setIntProperty("font.hinting.mode", mode)
|
||||
end
|
||||
|
||||
function CreDocument:setFontKerning(mode)
|
||||
logger.dbg("CreDocument: set font kerning mode", mode)
|
||||
self._document:setIntProperty("font.kerning.mode", mode)
|
||||
end
|
||||
|
||||
-- min space condensing percent (how much we can decrease a space width to
|
||||
-- make text fit on a line) 25...100%
|
||||
function CreDocument:setSpaceCondensing(value)
|
||||
|
||||
Reference in New Issue
Block a user