Inaccurate spacing and cursor placement when using an ampersand or solidus
jdandrea opened this issue · 2 comments
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:
- Extra spacing follows soon after the appearance of either character, so something like "AT&T Labs" may appear as "AT&T__Labs" or "AT&T/Bell Labs" may appear as "AT&T/___Bell Labs". (Underscores used in place of spaces here for illustration.)
- The cursor placement also appears out of alignment, in terms of what is seen vs what is actual (relative to the text being edited).
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.
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.
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.