[Poppler-bugs] [Bug 34057] New: Font info not getting properly into html when using pdftohtml

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 8 17:57:05 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=34057

           Summary: Font info not getting properly into html when using
                    pdftohtml
           Product: poppler
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: cpp frontend
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: sushant354 at gmail.com


Created an attachment (id=43145)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=43145)
the example document

I have attached a pdf document which is a mix of english and hindi
languages. For Hindi it uses Aryan2 font. When I use pdftohtml on this
doc, I do not get any font information in the html file. When I use the
"-xml" or the "-c" Aryan2 font is still outputted as Times. So there is
some problem with embedded fonts.

I have attached the pdf doc for your analysis.

$ pdffonts 2211.pdf 

name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- ---
---------
CFFEEL+TimesNewRoman                 TrueType          yes yes no 1852 0
CFFEGM+TimesNewRoman,Bold            TrueType          yes yes no 1854  0
CFFFEJ+TimesNewRoman,Italic          TrueType          yes yes no   93  0
CFFFHI+SymbolMT                      CID TrueType      yes yes yes  94  0
CFFGDG+Aryan2-Bold                   TrueType          yes yes no   95  0
CFFGEI+Aryan2-Normal                 TrueType          yes yes no   97  0
CFFGEH+Aryan2-Normal                 CID TrueType      yes yes yes  96  0
CFFGII+Tahoma,Bold                   TrueType          yes yes no   98  0
CFFGLJ+Tahoma                        TrueType          yes yes no   99  0

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list