<br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 1:30 PM, ¤ýíi <span dir="ltr"><<a href="mailto:coolwanglu@gmail.com" target="_blank">coolwanglu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br><br>  I've got a pdf created by LaTeX, with special fonts for maths.<br>  There are chars named Omega, which can be displayed correctly according to the font (also with the Omega slot).<br><br>  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. <br>


  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.<br>


<br>   I think pdftohtml in poppler will also suffer from this problem when font embedding is implemented.<br><br>   I've found more references: <br><br><a href="http://en.wikipedia.org/wiki/Ohm#cite_note-2" target="_blank">http://en.wikipedia.org/wiki/Ohm#cite_note-2</a><br>


<a href="http://www.unicode.org/versions/Unicode4.0.0/ch07.pdf#search=%22character%20U%2B2126%20maps%20OR%20map%20OR%20mapping%22" target="_blank">http://www.unicode.org/versions/Unicode4.0.0/ch07.pdf#search=%22character%20U%2B2126%20maps%20OR%20map%20OR%20mapping%22</a><br>


<br>   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.<br></blockquote><div><br>should be 0x03A9. Sorry. <br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>  Thanks<br><br>   - Lu<br>
  2012.08.09<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 6:29 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

El Dijous, 9 d'agost de 2012, a les 00:04:51, ¤ýíi va escriure:<br>
> Hi all,<br>
<br>
Hi<br>
<div><div><br>
>    In poppler/NameToUnicodeTable.h<br>
><br>
><br>
>    Both Ohm and Omega are mapping to 0x2126, which is incorrect.<br>
><br>
>    Should be<br>
><br>
>    Ohm -> 0x2126<br>
>    Omega -> 0x03A9<br>
><br>
>    Reference:<br>
> <a href="http://www.fileformat.info/info/unicode/char/2126/index.htm" target="_blank">http://www.fileformat.info/info/unicode/char/2126/index.htm</a><br>
> <a href="http://www.fileformat.info/info/unicode/char/03a9/index.htm" target="_blank">http://www.fileformat.info/info/unicode/char/03a9/index.htm</a><br>
><br>
>    I wonder how this file was created, do we need to check other symbols?<br>
<br>
</div></div>Ask the xpdf author (oh wait he won't answer)<br>
<br>
Now bad jokes aside, do you have a pdf showing a problem because of this?<br>
<br>
Cheers,<br>
  Albert<br>
<br>
><br>
><br>
>    Thanks<br>
><br>
>    - Lu<br>
>    2012.08.09<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>