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

Adding support for rotated vertical punctuation and vertical cartouches #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Shihali
Copy link

@Shihali Shihali commented Jun 29, 2024

This adds vertical metrics, rotated vertical punctuation from the East Asian set at U+3001 - U+301B, and vertical cartouches.

The vertical punctuation's tracking is just barely acceptable, but I don't know how to systematically improve it further.

The vertical cartouches are done by a multiple-substitution lookup to replace the cartouche-containing glyph with the base (vertical) glyph followed by vertical cartouche. It will be hard to maintain because I don't think substitutions of this type can be done with variables.

The vertical metrics are a flat advance 900 for all glyphs except vertical cartouche which has an advance of 0. This should be perfectly suitable for the monospace version, which is the only one that I think would appeal to people writing vertically. The rotated glyphs are added to the proportional version along with vertical metrics so vertical cartouche can have an advance of 0, but I have made no effort to produce proportional vertical metrics.

Shihali added 3 commits June 28, 2024 21:24
… and vertical metrics (advance 900).

The vertical punctuation's tracking is just barely acceptable, but I don't know how to improve it further.
…s, which are more efficient."

This reverts commit cff1cf4.

Microsoft products have trouble with the more efficient format.
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

Successfully merging this pull request may close these issues.

1 participant