Skip to content

Always use complex text code path - #14

Merged
mnutt merged 5 commits into
masterfrom
always-complex-text
Aug 11, 2023
Merged

mnutt merged 5 commits into
masterfrom
always-complex-text

Conversation

@mnutt

@mnutt mnutt commented Aug 4, 2023

Copy link
Copy Markdown
Member

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.

mnutt added 5 commits August 4, 2023 00:41
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
@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