Am 06.06.21 um 10:12 schrieb Roland Meub:
H All,
I do have some issues creating a custom FontProvider class, because
there are some classes with non-public constructors, which are part of
the FontProvider class, used in the FontProvider API.
The classes with non-public constructors are:
org.apache.pdfbox.pdmodel.font.PDPanoseClassification
org.apache.pdfbox.pdmodel.font.CIDSystemInfo
Those classes are part of the public class FontInfo which is meant to be an
interface. Saying that, IMHO those constructors should be public as well.
I'm going to change that if nobody objects
Andreas
One workaround for me would be, to build my custom FontProvider in the
same namespace as those two classes, but I would rather recommend,
making the constructors public.
What do you think about this ?
Some Background-Info:
The purpose of this custom FontProvider is, to use other font locations
(e.g. alternative file system paths or classpaths)
I'm referencing the current git repository
https://github.com/apache/pdfbox/tree/trunk
Regards, Roland.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]