[XeTeX] fontspec: mapping=tex-text for the lmodern fonts

Will Robertson wspr81 at gmail.com
Tue Feb 19 04:29:26 CET 2008


Hi Ulrike,

Thanks for your feedback.

On 15/02/2008, at 7:42 PM, Ulrike Fischer wrote:

> But I don't know if it is a good idea to enable it also for the  
> ttfamily.

Good point :)
I've fixed that for the next release, which will be soon in order to  
address the lmtti bug below.

> But why don't you use at least command names?
> This would enable you to hold the list of font names in one place and
> you even could install a simple system to enable/disable mapping for
> families:

I suppose I could. But now that the LM fonts support OpenType optical  
sizes I don't see much point. If the whole "eu" encoding takes off in  
lieu of fontspec, then I guess it's a good idea. The LM defaults are  
kind of only there for users who try and start writing in unicode  
without selecting a unicode font.

I mean, do you really want to be turning the mapping on and off? It  
seems fairly unobtrusive set up the way it is. Unless you highly  
object, I think I'll leave things as they are for now (i.e., with  
mapping turned on for all but the lmtt family). You can always load  
the LM fonts with regular fontspec commands, after all...

> Btw: in eu1lmtt.fd there is one reference to a normal tex font:
>
> \DeclareFontShape{EU1}{lmtt}{m}{it}{<-> ec-lmtti10}{}

Damn. I hate that font. It must have been a subconscious decision to  
omit that one :)

Cheers,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080219/aab8037f/attachment.bin 


More information about the XeTeX mailing list