Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.2 PDFBox
Description
Add support for the lookup type 3, Alternate Substitution when handling GSUB:
https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#AS
The first available substitution glyph can be used (as done in other libraries)
Also, the current implementation of CompoundCharacterTokenizer doesn't account for collision in ligatures
For example, if a font supports ligatures for att and en, the current implementation will not tokenize properly for the word attention. This is because the regex implementation doesn't allow for a proper split
I'll open a proposed implementation for the above
Attachments
Attachments
Issue Links
- is duplicated by
-
PDFBOX-5700 Ligature substitution cannot be switched off
- Closed
- links to