RedHatOfficial / RedHatFont

Red Hat's Open Source Fonts - Red Hat Display and Red Hat Text
SIL Open Font License 1.1
479 stars 55 forks source link

Inaccurate spacing and cursor placement when using an ampersand or solidus #58

Closed jdandrea closed 3 months ago

jdandrea commented 3 months ago

If I add an ampersand or solidus to my text—be it Red Hat Text or Red Hat Display, any weight—I see a few odd artifacts:

To reproduce, try typing "AT&T/Bell Labs" (in my case in a Google Slides document) using any of the fonts/weights, observe the spacing, then try placing the cursor and selecting text.

jdandrea commented 3 months ago

More info: Testing in a new Google Slides document still shows the symptoms. Using the same fonts in a Google Docs document (same Google Workspace environment) looks fine and cursor placement is fine.

So it may not be a font issue after all. I figure it's still worth mentioning here though since Red Hat Display is indicated for media such as Google Slides presentations.

I would check for kerning (or tracking?), however it doesn't look like Slides supports that. Since I get the same issue typing into an empty Slides file anyway my thinking is it's something else. Thoughts welcomed.

jdandrea commented 3 months ago

Closing. Upon further inspection, this minimal test case works across various browsers/platforms. Only Google Slides on Safari has unexpected rendering and text selection, which is what I happened to be using. Thus there are workarounds, and I will see about engaging with Google Slides devs next.

test.html.txt