Skip to content

skrifa: set wght=700 axis for bold font preference#94

Open
torokati44 wants to merge 1 commit into
PolyMeilex:masterfrom
torokati44:skrifa-bold
Open

skrifa: set wght=700 axis for bold font preference#94
torokati44 wants to merge 1 commit into
PolyMeilex:masterfrom
torokati44:skrifa-bold

Conversation

@torokati44
Copy link
Copy Markdown
Contributor

Post-last-minute addendum to #91 - sorry.
I just noticed on the screenshot in there that text looked a bit thin. Now it matches really closely with the other two backends.

This might not be worth its own CHANGELOG entry.

Mirrors the ab_glyph backend's bold handling: when the font preference style is "bold" (case-insensitive), build a variation Location with the wght axis set to 700 instead of using the default empty location. This applies the weight to metrics, glyph advances, hinting, and outline drawing. For non-variable fonts the extra axis coord is a no-op.

Mirrors the ab_glyph backend's bold handling: when the font preference
style is "bold" (case-insensitive), build a variation Location with the
wght axis set to 700 instead of using the default empty location. This
applies the weight to metrics, glyph advances, hinting, and outline
drawing. For non-variable fonts the extra axis coord is a no-op.
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