[poppler] Encoding of font names

Leonard Rosenthol lrosenth at adobe.com
Mon Aug 29 10:44:57 PDT 2011


Font Names are just that - PDF Name objects.  You decode them STRICTLY
according to the rules for Name decoding (ISO 32000-1:2008, 7.3.5)

On 8/29/11 1:31 PM, "Albert Astals Cid" <aacid at kde.org> wrote:

>Today I've been working on trying to fix the names reported by pdffonts
>for 
>non latin1 fonts, I have not got anything very clear while reading the
>spec, 
>but I understood that the BaseFont string is encoded using the /Encoding
>encoding. This has worked fine for some files but not for all like one
>that 
>says
>/BaseFont /#CB#CE#CC#E5
>/Encoding /UniGB-UCS2-H
>If i try to map that to Unicode i get nothing. And Adobe Reader properly
>maps 
>that to 宋体
>
>Any idea what is the proper manipulation one has to do over BaseFont to
>get 
>the Unicode value?
>
>Albert
>_______________________________________________
>poppler mailing list
>poppler at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/poppler



More information about the poppler mailing list