-
Notifications
You must be signed in to change notification settings - Fork 59
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
Updated glyphspackage and build system #47
Conversation
-Removed the "documentation" section & updated makefile as not necessary -Updated font metadata and OFL to be in sync. -Set a number of unreachable glyphs to non-exporting. Removed from features. -Updated outlines to solve some bezier issues and decomposition problems due to cap components
As a separate issue, would you be open to consider updating the metrics on Iansui to follow the guidelines of the discussion from here? For Iansui, this would mean:
I've used the values that you'd entered in the hhea ascent/descent in the source as the guide for this, but if you want to make sure than Pinyin is fully covered, you might want to consider |
Since Iansui's glyphs is based on Ministry of Education Taiwan, lots of users of Iansui are teachers, and they always use Microsoft Word. PS. If I set values as 1040 / -180, the text will be displayed as: So I know the ascender value 960 is not enough for some Pinyin symbols. |
Yeah, this was a bit of a concern of mine wherein not setting the vertical metrics related to the emBox could result in odd behavior. It might be that the Definitely want to test to ensure that it works as intended, but if the primary use case is MS Word, then the |
I tested some values. And the vertical alignment will also take sTypo values. That's good. Currently the best values are...
|
Excellent! The only suggestion I would make is to increase the |
- Updating vertical metrics per @ButTaiwan - Removing unnecessary 'manual overrides' from combining marks - Set overline to be spacing.
I've updated the font metrics per your recommendation. Also fixed another minor issue (set |
Thanks @ButTaiwan :) |
@aaronbell @davelab6 |
Thanks @ButTaiwan. We noticed that yesterday and are investigating. cc, @chrissimpkins |
It looks like lots of accent letters and Hanzi can not be displayed correctly with web font. https://codepen.io/Ki-n-tiong-T-n/full/ogNwWoV These are important characters for Taiwanese language text. Google Doc supports better, but ó͘ and ò͘ are shown as zero-width in Google Doc. |
@ButTaiwan Oh boy. It looks like there's a host of odd issues going on.
I'm also seeing some of the substituted glyphs receiving a zero width, which is super weird, while others are not. All I can guess is that there is a misunderstanding of the glyph by the build system and it is thinking that that glyph is a combining diacritic rather than a glyph with advance width. No idea why it happens on some of them but not others. But hopefully the anchor system I discuss above will solve both these problems.
|
Thanks for your reply. https://codepen.io/ButTaiwan/pen/YPzQBQg There shows that the glyphs of U+0301, U+0300, U+0302 and U+0304 can be displayed, and PS. When I use a full Iansui ttf file as web font, it works well. So it seems that -- Due to a historical reason, there're usually 3 possible series in POJ's "o͘". |
Thanks @ButTaiwan! I definitely still think that adding the marks would help ensure that these things render properly in the absence of On the |
Thanks again for uploading the
.glyphspackage
source. I've gone through and edited the source file as necessary to resolve a number of fontbakery items as well as issues that were causing the build to fail.Changelist (partially copied from #46):
_part.thread
and_part.thread2alt
(replacing_part.thread2
) in all glyphs where the smart component was used. There may be some slight differences, but should look pretty close to the original.Iansui-build.glyphspackage
file as, unfortunately,fontmake
cannot fully supportcorner components
andcap components
so the source needs to be decomposed before it can be built on the server. Hopefully as the technology improves, this limitation can be removed.WARN
though, so I think it can be left alone.OFL
) to follow conventions for GF.fontmake
toolchain, so best to remove it if not necessary.makefile
as unnecessary.I tried to break up the changes into meaningful commit chunks—removal of old files, smart component fixes and new build system, then FB-related fixes, etc. so it would be easier for you to step through the changes and see what's different, but if you have any questions or there's anything you don't like, please don't hesitate to ask! I'm happy to discuss.