You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/document
poire-z fa6fed8569 cre: setFontFace(): increase bias given to the main font
Solve the issue when a font without bold and italic variants
is used as the default font (e.g. FreeSerif), and the style
tweak "Ignore publisher font-family" is used (which uses
a trick to cancel any font-family by requesting a font
named "NoSuchFont"):
When text is italic or bold, any of the registered fonts
which have a real italic or bold variant would win over our
default font, as the best substitute to NoSuchFont-Italic.
This gives our default font a bit more bias so it can
win in its scoring against the other fonts, and be rendered
as fake italic or fake bold - which will ensure consistent
font and line height.
(A bit hacky, but no alternative solution found.)
4 years ago
..
canvascontext.lua [Desktop] Open writable font dir, toggle system+user/user fonts, fix openLink on mac (#5220) 5 years ago
credocument.lua cre: setFontFace(): increase bias given to the main font 4 years ago
djvudocument.lua decouple UI definitions from document modules 5 years ago
document.lua PicDocuments: fix crash on hold + pan (#5742) 4 years ago
documentregistry.lua [feat] Open unsupported documents as text (#5497) 5 years ago
koptinterface.lua [fix] Prevent crash when no page boxes (#5289) 5 years ago
pdfdocument.lua Avoid writting highlights into read-only PDFs (#5889) 4 years ago
picdocument.lua PicDocument: log reason of opening failure 5 years ago
tilecacheitem.lua feat: add logger module & rewrite kobo suspend script in lua 7 years ago