-
Notifications
You must be signed in to change notification settings - Fork 625
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
Truncating on right for wide glyphs #4051
Comments
Humm. Doesn't reproduce for me. |
Does the same happen if you skip the "| kitty icat"? What if you redirect the output to a PNG file? |
OK, I can reproduce with 6.0.0 (at least homebrew binaries). |
so it's a homebrew and/or 6.0.0 problem? FWIW, the SVG is wrong too, there is a clipPath:
Thanks for the extremely quick investigation! |
But I can’t reproduce with self-built 6.0.0, perhaps Cairo issue? Yup, |
More possible that it's a cairo problem. With 6.0.0 on Linux still no repro. |
Ah yeah, cairo user-font clipping issue. |
What cairo version is that? We need a cairo release... @matthiasclasen |
|
Wow, that is 4 years old. Is Cairo still following even releases are stabled, odd releases are unstable numbering scheme? If not people might have missed the memo. |
Right, so thanks for |
Not really. These days we advise using whatever micro release we can get @ebassi or someone to make. |
Previously we were using More recently, we switched to using the Cairo user-font backend in combination with the |
Apparently, 1.16.0 is the latest release uploaded to https://cairographics.org/releases/ |
For a while no one had access there apparently! Distros use git tags I think. Or alternatively you can for now point Brew people to: |
@khaledhosny I had forgotten about this bug. Maybe we should set the default draw back to cairo-ft again based on cairo version. |
https://gitlab.freedesktop.org/cairo/cairo/-/issues/622#note_1732239 |
I think so, given that Cairo made no stable release in the past 4 years... |
Adding |
Now onto which version to require... |
We'll hopefully get a cairo 1.17.7 any day now, and 1.18 soon thereafter. |
I can barely believe this is possible as i am typing this, it seems much more likely that some simple but obscure config has been flipped.
It seems that hb-view version 6.0.0 is truncating wide-glyphs on the right, at the right-hand end of lines. They are truncated at essentially one UPEM box from the final glyph's origin point (or as close to that as i can tell without digging into any code).
Lifting from my typo.social post: https://typo.social/@drj/109722147274855966
This is ‰ displayed using overpass-regular.otf from https://overpassfont.org/
The text was updated successfully, but these errors were encountered: