[XeTeX] can't access superscript glyphs outside Latin-1?
g.duffner at gmail.com
Tue Apr 2 18:35:10 CEST 2013
Am 2013-04-02 18:28, schrieb Eric Abrahamsen:
> Khaled Hosny <khaledhosny at eglug.org>
>> On Wed, Apr 03, 2013 at 12:05:49AM +0800, Eric Abrahamsen wrote:
>>> If the font has labeled its sups incorrectly, is it possible to edit the
>>> font to fix it? Or any other solutions...
>> You can do virtually any thing by editing the font in a font editor :)
>> but if you mean within XeTeX, then the answer is no. If the glyphs you
>> want to use have Unicode characters, you may use a font mapping, but
>> that is a bad idea because it will break text extraction from PDF files
>> (copying, searching etc.)
> Yup, I meant edit the font -- I'd like to fix this properly! But I
> opened Janson in Fontforge and besides the superscript 1 2 and 3 (in the
> early section of the tables), there are no glyphs at all in the U207X
> range and neighborhood, where the subs and supers live. So I guess
> that's the source of my problem! Though they told me there was a full
> range of digits...
> Disappointing! But thanks again for the pointers.
I had a look at Janson Text, your observation is correct. There are no
other superscripts than the ones you found too. To fix this, you’d have
to draw them yourself.
More information about the XeTeX