You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With some fonts the rendering looks as if the first pixels and the last pixels (vertically) are stretched, which results in broken rendering.
I could reproduce this issue with the "Algerian" font and the "Stencil" font in the rich-text example.
Steps to reproduce
Take the "rich-text" example and e.g. replace the line which sets the attributes for comic-sans with let comic_attrs = attrs.family(Family::Name("Algerian")).stretch(cosmic_text::Stretch::ExtraCondensed);
or let comic_attrs = attrs.family(Family::Name("Stencil"));
How does it look like
This looks especially spectacular with the "Algerian" font.
Algerian:
but is also visible with "Stencil"
Stencil:
The text was updated successfully, but these errors were encountered:
Description
With some fonts the rendering looks as if the first pixels and the last pixels (vertically) are stretched, which results in broken rendering.
I could reproduce this issue with the "Algerian" font and the "Stencil" font in the rich-text example.
Steps to reproduce
Take the "rich-text" example and e.g. replace the line which sets the attributes for comic-sans with
let comic_attrs = attrs.family(Family::Name("Algerian")).stretch(cosmic_text::Stretch::ExtraCondensed);
or
let comic_attrs = attrs.family(Family::Name("Stencil"));
How does it look like
This looks especially spectacular with the "Algerian" font.
Algerian:
but is also visible with "Stencil"
Stencil:
The text was updated successfully, but these errors were encountered: