[poppler] pdftotext font information

Albert Astals Cid aacid at kde.org
Sun Jul 22 20:48:47 UTC 2018


Mr Obsidian, Mr Thomas, any comment on Adam's patch?

I've had time to look at it and it seems reasonable (it changes the behaviour a bit because previously we only removed the suffixes for a set of fonts and now it does for all of them) but since you seem the ones that requested this changes I would really welcome someone commenting if this is doing what you expect or not.

Cheers,
  Albert

El divendres, 1 de juny de 2018, a les 10:31:26 CEST, Adam Reichold va escriure:
> Hello,
> 
> I am not completely sure what the whole HtmlFont::pos machinery is
> about, but I created the attached patch based on the assumption that it
> is meant to remove the style suffixes to get the font family name, i.e.
> "Courier" instead of "Courier-Bold". Please give it a try.
> 
> Best regards,
> Adam
> 
> Am 31.05.2018 um 23:31 schrieb obsidian .:
> > +1
> > 
> > On Fri, May 25, 2018 at 10:46 AM, <thomas.karthe at daimler.com> wrote:
> > 
> >> Hello all,
> >>
> >>
> >>
> >> I am using pdftohtml (poppler-0.64.0) with options -xml -fontfullname to
> >> extract text with font information.
> >>
> >> This works perfect, when all fonts have different size.
> >>
> >>
> >>
> >> If there are two fonts with same size but of different family, only the
> >> first font is reported.
> >>
> >> Without option -fontfullname, all fonts are reported with family "Times".
> >>
> >>
> >>
> >> Any chance to get this fixed?
> >>
> >>
> >>
> >> Kind regards
> >>
> >> Thomas
> >>
> >>
> >>
> >> If you are not the addressee, please inform us immediately that you have
> >> received this e-mail by mistake, and delete it. We thank you for your
> >> support.
> >>
> >>
> >> _______________________________________________
> >> poppler mailing list
> >> poppler at lists.freedesktop.org
> >> https://lists.freedesktop.org/mailman/listinfo/poppler
> >>
> >>
> > 
> > 
> > 
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/poppler
> > 






More information about the poppler mailing list