-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draw-text
with combine?
= #t
missplaces diacritics.
#22
Comments
I'm running macOS 10.14.13, running a Racket head from a few days ago. |
This is not a regression from 7.5. |
Wikipedia suggests that 10.14.6 is the latest version of 10.14: https://en.wikipedia.org/wiki/MacOS_Mojave |
Is this related to "Unicode Acents in DrRacket" racket/drracket#46 ? |
It might be. From what I can tell drracket always uses An interesting note some fonts have special liggatures for diacritics, and that effect the behavior here. For example Futura has a diacritic for  but not p̂. The code:
Renders Which is to say, this only goes wrong if there is no ligature for the combined glyph. But more bizzarly, if I switch to
Which is to say it draws the completely wrong character! |
this issue might be related to this pango bug (https://bugzilla.gnome.org/show_bug.cgi?id=584160)? Specifically this comment https://bugzilla.gnome.org/show_bug.cgi?id=584160#c75 makes me think so. |
The
combine?
argument todraw-text
seems to shift circumflexes one character space to the left. The program:Produces:
The text was updated successfully, but these errors were encountered: