Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-14 Thread Arthur Reutenauer
Hi Doug, In addition to the answers that have already been made, I wish to stress one point: > Since there's no mapping from > Unicode, then the outside process either needs to know the absolute glyph > IDs inside the font, or it needs to caus

Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-12 Thread Khaled Hosny
On Wed, Jun 12, 2013 at 01:32:10PM -0600, Doug McKenna wrote: > Or whether > they are part of some internal ligature-like structure that only the > OpenType font has information about (which might mean that the glyph IDs > can change internally from one release to the next of the OT font). Righ

Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-12 Thread Adam Twardoch (List)
Doug, if you think of the TFM slot indices as "glyph indices" rather than "character codes", then possibly, you can find a 1:1 mapping of all TFM indices to glyph IDs in the OTF. But not to Unicode codepoints. If your method of drawing glyphs on screen allows you to address glyph IDs directly

Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-12 Thread Doug McKenna
Thanks for all the responses. I understand the distinction between Unicode characters (code points) and glyphs, and that an OpenType font can have glyphs in it that do not correspond to any Unicode code points. I don't quite get whether or how those non-Unicode glyphs are subject to being foun

Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-11 Thread Arthur Reutenauer
> Well, you could try to run tftopl, a convertor from TFM to an easier readable > (TeX) Property List file. You could also look into the AFM (Adobe Font > Metrics) file (or the AFT file, whatever it is). Then you'll see the clear > names of the font's glyphs and their encoding. Except that's

Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-11 Thread Peter Dyballa
Am 11.06.2013 um 06:04 schrieb Doug McKenna: > It's getting from the 128 "code points" in the TFM files > to the actual Unicode code points that I'm interested in. Well, you could try to run tftopl, a convertor from TFM to an easier readable (TeX) Property List file. You could also look into t

Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-11 Thread Khaled Hosny
On Mon, Jun 10, 2013 at 10:04:42PM -0600, Doug McKenna wrote: > This font has many thousands of glyphs in it. After choosing the > "Preview > Repertoire" menu choice in FontBook, one can scroll through > all the glyphs and eventually find glyph #2500, identified by Unicode > name "U+2398 LEFT P

Re: [XeTeX] Latin Modern, from TFM to Unicode

2013-06-11 Thread Arthur Reutenauer
>A separate > question: I wasn't aware that an OpenType font even knew anything about > official Unicode code point names, so how does FontBook know which glyphs > have Unicode names and which ones don't?? There is nothing in OpenType ab

[XeTeX] Latin Modern, from TFM to Unicode

2013-06-11 Thread Doug McKenna
All - I don't know really which TeX-related list this should be posted to, so I'm starting with this one, as it has dealt with OpenType fonts. This is a TFM <==> OpenType math font question. By using the "fonttable" package (under TexLive 2010, LaTeX2e), I'm able to create a PDF that shows the