My original thought was to look at the specs for the full font.  But doing
google searches, I cannot find any description of the font.  Since it was a
Type0 font, I thought it would be defined somewhere in fontbox, but it is
not one of the 14 Adobe defined fonts.  I think that is the part I just
don't understand - how can it be a Type0 font?

On Wed, Feb 17, 2021 at 10:54 PM Tilman Hausherr <[email protected]>
wrote:

> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to