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

Ligatures support? #57

Open
fabiospampinato opened this issue Aug 13, 2023 · 2 comments
Open

Ligatures support? #57

fabiospampinato opened this issue Aug 13, 2023 · 2 comments
Labels

Comments

@fabiospampinato
Copy link

I've parsed a font that contains custom ligatures with this library, but inspecting the returned objected I don't see references to ligature mappings 🤔 So are ligatures supported? If not, could support for them be added? I'd like to use this library to generate icon fonts, but an icon font without a ligature is not as nice.

@fabiospampinato
Copy link
Author

@kekee000 do you know very roughly when this might get implemented? I have a use case where I'd like to be able to generate an icon font with ligatures directly in the browser, and fonteditor-core seems the most promising library for something like that.

Looking at the manual it seems like one would need to support the morx table (not the mort one that seems kinda deprecated), and define a "Ligature subtable" in it, but it looks fairly complicated, at least for me that I'm unfamiliar with TTF 🤔

@fabiospampinato
Copy link
Author

Apparently the table to implement is the gsub table, which I don't even see mentioned in Apple's TTF manual 🙃

This PR seems to be adding support for ligatures to svg2ttf, so it's probably a pretty useful reference to have.

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

No branches or pull requests

2 participants