Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump crengine: monospace and fallback fonts tweaks #1503

Merged
merged 1 commit into from Jul 17, 2022

Conversation

poire-z
Copy link
Contributor

@poire-z poire-z commented Jul 17, 2022

Includes koreader/crengine#486 :

  • Text: fix possible overflow with "white-space: pre"
  • Fonts: getFontFileNameAndFaceIndex(): return family type
  • Fonts: account for _bias in Font hash
  • epub.css, fb2.css: remove hardcoded monospace font names
  • Fonts: allow scaling monospace fonts
  • Fonts: allow adjusting fallback font sizes to x-height
  • HTML parser: trust xml encoding before html charset

cre.cpp: make setAsPreferredFontWithBias() a global function (as it is not a per-document setting)


This change is Reviewable

Includes:
- Text: fix possible overflow with "white-space: pre"
- Fonts: getFontFileNameAndFaceIndex(): return family type
- Fonts: account for _bias in Font hash
- epub.css, fb2.css: remove hardcoded monospace font names
- Fonts: allow scaling monospace fonts
- Fonts: allow adjusting fallback font sizes to x-height
- HTML parser: trust xml encoding before html charset

cre.cpp: make setAsPreferredFontWithBias() a global
function (as it is not a per-document setting)
@poire-z poire-z merged commit e3e0e3f into koreader:master Jul 17, 2022
@poire-z poire-z deleted the bump_crengine branch July 17, 2022 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants