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
Embolden #4097
Conversation
|
Todo:
|
8bc5248
to
e7d6c85
Compare
|
I've added some docs. |
|
@khaledhosny rightly pointed out that adjusting the advance-widths unfortunately breaks Arabic fonts that use rounded edges for their connecting strokes. We can't ignore that unfortunately. So I'm stuck as to how to proceed. Khaled also mentioned that in LibreOffice he uses unadjusted advance-widths and so far no one complained. If using unadjusted advance-widths though, I think we should NOT shift the glyph shape horizontally then. Which I can do. But then we should also unshift the FreeType outlines in hb-ft. I think we should still shift them vertically such that they sit on the baseline. All of this ends up who knows where in vertical writing.... |
This comment was marked as outdated.
This comment was marked as outdated.
Needs documentation.
There are other cases where keeping advance width is desired like monospace fonts or using emboldening to achieve something like grade. I think it might be worth while to add an option or a flag to control advance adjustment and shift in both directions. |
Matthias had the same idea. Okay I'm convinced. |
|
Okay so then to hb-view I'll add |
5beb94f
to
ce3abac
Compare
Adds --font-grade to hb-view and hb-shape.
|
@khaledhosny @matthiasclasen How does this look? |
Working on these. |
|
Should grade shift glyphs up or not? Currently it does. @khaledhosny @davelab6 |
Done. I think this is good to land now. I can work on |
|
Looks good to me apart from those two comments. |
|
Thanks for the explanation! |
Fixes #3883