A Dilluns, 29 d'agost de 2011, Leonard Rosenthol vàreu escriure: > 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)
Following that rule /#CB#CE#CC#E5 is not 宋体 that is what Adobe Reader is showing for that particular file. Want me to file a bug report? Just kidding ;-) Albert > > On 8/29/11 1:31 PM, "Albert Astals Cid" <[email protected]> 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 > >[email protected] > >http://lists.freedesktop.org/mailman/listinfo/poppler > > _______________________________________________ > poppler mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/poppler _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
