Volker Kunert

Results 39 comments of Volker Kunert

I agree, it is a big effort, to add the missing glyphs and check and correct the position of the accents. On the other hand with conformance to the standard...

Yes, both issues suffer from the lack of a text shaping engine like HarfBuzz. It should be possible to implement the change I proposed in https://issues.apache.org/jira/browse/PDFBOX-4951, Comment 28. Nov 2020...

@danfickle Glad to here that you are working at the support of advanced glyph layout. You chose the hard way, to implement all the needed functionality, while I proposed to...

Trying to load DejaVuSans with OTFParser results in: java.lang.UnsupportedOperationException: TTF fonts do not have a CFF table at org.apache.fontbox.ttf.OpenTypeFont.getCFF(OpenTypeFont.java:73) at org.apache.fontbox.ttf.OpenTypeFont.getPath(OpenTypeFont.java:92) at org.apache.pdfbox.pdmodel.font.TrueTypeEmbedder.createFontDescriptor(TrueTypeEmbedder.java:251) at org.apache.pdfbox.pdmodel.font.TrueTypeEmbedder.(TrueTypeEmbedder.java:75) at org.apache.pdfbox.pdmodel.font.PDCIDFontType2Embedder.(PDCIDFontType2Embedder.java:76) at org.apache.pdfbox.pdmodel.font.PDType0Font.(PDType0Font.java:116) at...

I added a little test to https://github.com/vk-github18/pdfbox examples/src/main/java/org/apache/pdfbox/examples/pdmodel/AdvancedTextLayoutSequencesDin91379.java to compare the computing of the layout vector and the rendering of glyphs with Java2D and AdvancedTextLayout for some fonts. The layout...

The error "java.lang.UnsupportedOperationException: coverage set class table not yet supported" is solved by applying the following FOP patch: https://github.com/apache/xmlgraphics-fop/commit/551007e7e0f14b85dfd8f33d3cf8a4e1635c09cd

I did some prototyping based on your branch of PDFBox, see https://github.com/vk-github18/pdfbox. The resulting positioning looks good. Only when one base letter has two combining diacritics, the second one is...

You find the pull request in https://github.com/danfickle/pdfbox/pull/2 I also started a pull request for PDFBox, see https://github.com/apache/pdfbox/pull/143 and a discussion in https://issues.apache.org/jira/projects/PDFBOX/issues/PDFBOX-4951?filter=allopenissues

@nazmul-prince you could try to use LayoutProcessor, see https://github.com/LibrePDF/OpenPDF/wiki/Accents,-DIN-91379,-non-Latin-scripts

Use LayoutProcessor.enable(); for automatic selection of direction for each chunk of text. Not a bug, description is clarified.