On Thu, Aug 9, 2012 at 1:30 PM, 王璐 <[email protected]> wrote: > Hello, > > I've got a pdf created by LaTeX, with special fonts for maths. > There are chars named Omega, which can be displayed correctly according > to the font (also with the Omega slot). > > I'm now working on a project called pdf2htmlEX, I need to map chars to > "meaningful" Unicodes for text selection, meanwhile the fonts should also > be remapped. > In my case, the fonts are remapped with Fontforge, where Omega is mapped > to the correct Unicode value; but poppler didn't, in the final HTML, the > symbol was not displayed with the font math, as the symbol cannot be found > in the font. > > I think pdftohtml in poppler will also suffer from this problem when > font embedding is implemented. > > I've found more references: > > http://en.wikipedia.org/wiki/Ohm#cite_note-2 > > http://www.unicode.org/versions/Unicode4.0.0/ch07.pdf#search=%22character%20U%2B2126%20maps%20OR%20map%20OR%20mapping%22 > > So Ohm is is included for backward compatibility, and Omega is > preferred. which means it'd be ok if both Ohm and Omega are mapped to > 0x03A0. But we should never map Omega to 0x2126. >
should be 0x03A9. Sorry. > > Thanks > > - Lu > 2012.08.09 > > > On Thu, Aug 9, 2012 at 6:29 AM, Albert Astals Cid <[email protected]> wrote: > >> El Dijous, 9 d'agost de 2012, a les 00:04:51, 王璐 va escriure: >> > Hi all, >> >> Hi >> >> > In poppler/NameToUnicodeTable.h >> > >> > >> > Both Ohm and Omega are mapping to 0x2126, which is incorrect. >> > >> > Should be >> > >> > Ohm -> 0x2126 >> > Omega -> 0x03A9 >> > >> > Reference: >> > http://www.fileformat.info/info/unicode/char/2126/index.htm >> > http://www.fileformat.info/info/unicode/char/03a9/index.htm >> > >> > I wonder how this file was created, do we need to check other >> symbols? >> >> Ask the xpdf author (oh wait he won't answer) >> >> Now bad jokes aside, do you have a pdf showing a problem because of this? >> >> Cheers, >> Albert >> >> > >> > >> > Thanks >> > >> > - Lu >> > 2012.08.09 >> _______________________________________________ >> poppler mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/poppler >> > >
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
