Here is a PDF with a snippet from such a file. https://drive.google.com/file/d/1aW8b20LCgvWZ9Fn8JvUrkhAwXoQCibGH/view?usp=sharing
Thanks On Tue, Feb 16, 2021 at 11:23 PM Tilman Hausherr <thaush...@t-online.de> wrote: > Please upload the PDF to a sharehoster > > 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 > >