Skip to content

Subpixel glyph positioning and layout linearity#1921

Merged
hecrj merged 2 commits intomasterfrom
subpixel-glyph-positioning
Jun 26, 2023
Merged

Subpixel glyph positioning and layout linearity#1921
hecrj merged 2 commits intomasterfrom
subpixel-glyph-positioning

Conversation

@hecrj
Copy link
Member

@hecrj hecrj commented Jun 20, 2023

Depends on pop-os/cosmic-text#143.

The changes in this PR leverage the layout linearity properties from cosmic-text to unify the measurement and rendering caches in our text pipelines, offsetting and scaling glyphs during rendering.

This should fix any layout inconsistencies between measuring (in logical units) and rendering (in physical units).

Fixes #308.

... for offsetting and scaling text
@hecrj hecrj added bug Something isn't working text layout rendering labels Jun 20, 2023
@hecrj hecrj added this to the 0.10.0 milestone Jun 20, 2023
@hecrj hecrj merged commit ef18ecf into master Jun 26, 2023
@hecrj hecrj deleted the subpixel-glyph-positioning branch June 26, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working layout rendering text

Projects

None yet

Development

Successfully merging this pull request may close these issues.

leading newline makes Text disappear

1 participant

Comments