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

Add/test training against more ligature forms #1

Open
ryanfb opened this issue Mar 9, 2015 · 1 comment
Open

Add/test training against more ligature forms #1

ryanfb opened this issue Mar 9, 2015 · 1 comment

Comments

@ryanfb
Copy link
Owner

ryanfb commented Mar 9, 2015

Passing --ligatures to text2image gives us st ligatures in Cardo and EB Garamond, as well as ffi ffl (more?) in Garamond. If we could find a way to conditionally turn on the hlig OpenType font feature in Garamond we should be able to get ct ligatures out of it (and maybe Cardo?).

Wyld has ligatures mapped into the ASCII characters:
ÌËÊÉÈÇÅÄÃÂÁÀ
So we'd need to run text2image against these then substitute them back to the characters we want before running training.

@ryanfb
Copy link
Owner Author

ryanfb commented Aug 26, 2015

For hlig support, it seems like we would need to modify Tesseract's text2image to support a new e.g. --opentype_features argument that could call pango_ot_ruleset_add_feature with the corresponding PangoOTTags (like Pango's syriac-fc.c does).

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

No branches or pull requests

1 participant