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

Always use complex text code path #14

Merged
merged 5 commits into from
Aug 11, 2023
Merged

Always use complex text code path #14

merged 5 commits into from
Aug 11, 2023

Conversation

mnutt
Copy link
Member

@mnutt mnutt commented Aug 4, 2023

The other ports already had this enabled. This produces much better kerning overall.

There is a hack in FontCascadeFonts, where we coerce a newline character to a space. There is likely a better way to do it.

Newlines are rendered as whitespace. The layout engine gets this right,
but the glyph that is used for newline is 0. In the paint phase, if we
came across a 0 glyph we bailed, even though that glyph contained an
advance. We should always advance.
@mnutt mnutt merged commit 3cfcdcf into master Aug 11, 2023
1 check passed
@mnutt mnutt deleted the always-complex-text branch August 11, 2023 19:03
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.

1 participant