Hi,
I had a look with PDFDebugger and I don't see a way to identify which
ones are bold etc, unless you start to analyse the shapes. (or better,
compare them with the full font)
Tilman
Am 17.02.2021 um 08:15 schrieb Joel Hirsh:
I am extracting text from a PDF that uses a Type0 font called AllAndNone.
It seems that this font uses its own character definitions, and has
characters for normal, bold, italic, etc all in the same font.
Everything reads just fine via PDF Box TextStripper, but I really need to
know if a character is bold or not.
If it was a Type1 font, I think I could extract the font and see which
characters were which and create a map. Although I'm not even sure if
there is a standard mapping for this font since I cannot find anything
about how to create text with it.
However, I don't understand how such a font is constructed as a Type0
font. There is nothing with that name anywhere in the PDF
Box source, which is what I would expect if it is a Type0. Clearly I am
missing something and if anyone could explain, that would be great.
What I have in mind is to create a map so I can look up whether a character
is bold.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org