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

Make ligatures "monospaced" and use complex character substitution #77

Open
IdreesInc opened this issue Dec 28, 2022 · 0 comments
Open
Labels
help wanted Extra attention is needed

Comments

@IdreesInc
Copy link
Owner

IdreesInc commented Dec 28, 2022

The ligature characters used in Monocraft replace multiple characters and so are bigger than the other characters in the font. This causes the font to not technically be classified as a monospaced font on Mac. Fonts like Hasklig and FiraCode use complex character substitution that replace the characters with ligature glyphs that go beyond the bounds and spacer characters to match the width of the original character set. I am not sure how to reproduce this in FontForge and it seems to be complicated, so any help on how to replace multiple characters (like "===") with other multiple characters (like "[SPACE][SPACE][LIG]") would be appreciated!

@IdreesInc IdreesInc changed the title Make Monocraft ligatures "monospaced" Make ligatures "monospaced" Dec 28, 2022
@IdreesInc IdreesInc assigned IdreesInc and unassigned IdreesInc Dec 28, 2022
@IdreesInc IdreesInc added the help wanted Extra attention is needed label Dec 28, 2022
@IdreesInc IdreesInc changed the title Make ligatures "monospaced" Make ligatures "monospaced" and use complex character substitution Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant