My application needs to find the coordinates of the artwork within the
Adobe Illustrator (PDF) document.  For most graphic instructions (lineTo,
curveTo, appendRectangle, etc.) this is very easy.

But I need to create a chunk of code like the one at
https://github.com/apache/pdfbox/blob/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java#L350

(I know, that's not the official repo, but it's very handy for reference.)

In order to create that chunk of code, I need a variable of type Glyph2D.
Glyph2D and the classes that implement it are private.

https://github.com/apache/pdfbox/blob/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/Glyph2D.java
https://github.com/apache/pdfbox/blob/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/TTFGlyph2D.java#L39

Is there any reason NOT to make that interface and those classes public?

Thanks!

Daniel

Reply via email to