Skip to content
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

No Vertical Pairs in Font ‘I.Ming’ #138

Open
E8D08F opened this issue Dec 6, 2022 · 1 comment
Open

No Vertical Pairs in Font ‘I.Ming’ #138

E8D08F opened this issue Dec 6, 2022 · 1 comment

Comments

@E8D08F
Copy link

E8D08F commented Dec 6, 2022

Hello. Thank you for the time and effort you put into for building this script. There is an issue I have encountered when processing the Chinese font family ‘I.Ming’ (ichitenfont/I.Ming, https://github.com/ichitenfont/I.Ming/blob/master/8.00/I.Ming-8.00.ttf). It says vertical pairs are not found (横書き works fine):

Skipped because no pairs: "I.Ming (vertical)"

I am wondering whether it is because that the font itself is missing some vertical hintings. Thank you for taking the time to address this issue.

@kojiishi
Copy link
Owner

kojiishi commented Dec 9, 2022

Hi, thank you for filing the issue.

I looked at the font. It looks like vertical glyphs of parenthesis and punctuation characters are either a) they are positioned in the middle, not upper/lower half, or b) not set in vertical (rotated.)

This tool examines the glyphs, and if they're not left/right half of the em-box (or upper/lower in vertical,) it doesn't apply kernings, because doing so will cause glyph overlaps.

To see them in your browser, you can use the test HTML to see relevant characters of fonts you built (or your original font.) Check the vertical checkbox to see them in vertical flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants