OpenPDF
OpenPDF copied to clipboard
Enable kerning and ligatures for LayoutProcessor
Description of the new Feature/Bugfix
- Kerning and ligatures can be enabled for LayoutProcessor by calling LayoutProcessor.enableKernLiga();
- Updates for final standard DIN 91379
Examples
GlyphLayoutDocumentDin91379.java
Shows all letters and sequences of DIN 91379 in a new PDF-document. GlyphLayoutDocumentDin91379.pdf
GlyphLayoutFormDin91379.java
Fills all letters and sequences of DIN SPEC 91379 into a PDF-form. GlyphLayoutFormDin91379.pdf
GlyphLayoutDocumentKernLiga.java
Enables LayoutProcessor with kerning and ligatures for all fonts GlyphLayoutDocumentKernLiga.pdf
GlyphLayoutDocumentKernLigaPerFont.java
Enables LayoutProcessor with kerning and/or ligatures for specified fonts GlyphLayoutDocumentKernLigaPerFont.pdf
GlyphLayoutDocumentBidi.java
Prints bidirectional text with correct glyph layout, kerning and ligatures globally enabled GlyphLayoutDocumentBidi.pdf
GlyphLayoutDocumentBidiPerFont.java
Prints bidirectional text with correct glyph layout, kerning and ligatures globally enabled. Direction can be chosen per font GlyphLayoutDocumentBidiPerFont.pdf
Compatibilities Issues
New methods added, existing methods in LayoutProcessor are unchanged.
The checkstyle job did not run because of some system error.
I am thinking about more changes ...
Example for bidirectional text GlyphLayoutDocumentBidi.java
GlyphLayoutDocumentBidi.pdf
Hi @vk-github18 , the checkstyle problems were fixed on master. Can you please rebase your branch onto OpenPdf/master?
Hi @asturio, I am thinking about some updates for the final DIN norm first, and try a rebase after this.
Hi @asturio , my changes are done, the request is ready for integration.