Re: [XeTeX] \XeTeXglyphbounds question

2011-02-07 Thread Will Robertson
Hi Jonathan, Thanks for your comments. On 2011-02-07 22:34:05 +1030, Jonathan Kew said: So while I think I agree that it would be good for \XeTeXcharglyph to respect the font's selected OT features, it's important to recognize the limitations inherent in *any* API that tries to get glyph

Re: [XeTeX] \XeTeXglyphbounds question

2011-02-07 Thread Jonathan Kew
On 7 Feb 2011, at 11:42, Will Robertson wrote: > On 2011-02-04 23:57:38 +1030, Jonathan Kew said: > >> On 4 Feb 2011, at 05:41, Adam Twardoch (List) wrote: >>> I could use: >>> \XeTeXcharglyph`f >>> but this only gives me the glyph ID of the *default* glyph for the "f" >>> character. Yet since t

Re: [XeTeX] \XeTeXglyphbounds question

2011-02-07 Thread Will Robertson
On 2011-02-04 23:57:38 +1030, Jonathan Kew said: On 4 Feb 2011, at 05:41, Adam Twardoch (List) wrote: I could use: \XeTeXcharglyph`f but this only gives me the glyph ID of the *default* glyph for the "f" character. Yet since the font uses contextual alternates, I may end up having any alter

Re: [XeTeX] \XeTeXglyphbounds question

2011-02-04 Thread Adam Twardoch (List)
On 11-02-04 18:37, Adam Twardoch (List) wrote: > So, ideally something like \XeTeXboxbounds would be great: work the same > way as \XeTeXglyphbounds but for a box (taking 1, 2, 3, 4 as parameter, > and a box). Of course, if \XeTeXglyphmetrics=1, \XeTeXboxbounds2 (top) and \XeTeXboxbounds4 (bottom)

Re: [XeTeX] \XeTeXglyphbounds question

2011-02-04 Thread Adam Twardoch (List)
On 11-02-04 14:27, Jonathan Kew wrote: > Unfortunately, I don't think there's currently any way to do that. (Well, no > way within xetex, that is -- you could of course ship the box to the output > file, then post-process that with a tool of some kind to determine the glyph > ID, and then re-run

Re: [XeTeX] \XeTeXglyphbounds question

2011-02-04 Thread Jonathan Kew
On 4 Feb 2011, at 05:41, Adam Twardoch (List) wrote: > (Plain XeTeX, not XeLaTeX). > > Imagine I use a font which uses contextual alternates such as: > > > \font\samplefont = "Zapfino Extra LT Pro:+calt" at 72bp > > \samplefont > > \def \sampletext{finality} > \XeTeXuseglyphmetrics=1 > > \se