[XeTeX] lmsans font [was: from teTeX-3.0 to TeXLive 2007]

Mike Maxwell maxwell at umiacs.umd.edu
Wed Aug 22 04:56:57 CEST 2007


Akira Kakuto wrote:
>> In order to try to understand that, I have been looking at  
>> fontspec.sty and could not find any explicit call to a specific font  
>> file such as lmroman10-regular(.otf).
> 
> Please see font definition files in  xelatex/euenc/lm.

That gives me a clue to a problem I've been having.  I'm converting 
DocBook files to xetex, using DBlatex and then doing a bit of hand 
munging (which can be automated once I figure out what works), then 
running xetex on it.  One of the munging tasks is to add the ff. lines:
           \usepackage{fontspec}
           \setmainfont{Charis SIL}
This font is a Latin font that also includes the IPA characters, and 
includes (among other things) bold glyphs.

But I'm still getting the following warning msg:
    Missing character: There is no ʃ in font [lmsans10-bold]!
In case the missing char doesn't show up in your email, it's an IPA 
character.  It is present in the Charis SIL font, but apparently not in 
the lmsans font.  The warnings appear to be triggered on section titles, 
and indeed for this particular section, the IPA character is missing in 
the PDF.

What I can't figure out is why, when I've told it to use the Charis SIL 
font, it still insists on using the lmsans font in section headings. 
(Most everywhere else, it's using the Charis font.)  The quoted email 
above supplies a hint; the font definition files in xelatex/euenc/lm are 
apparently supplying that font name.  But under what circumstances do 
they get called, and more importantly, how can I override that?  (And 
what does 'euenc' mean?  Greek for "good encoding"?)
----------


-- 
	Mike Maxwell
	maxwell at umiacs.umd.edu
	"Theorists...have merely to lock themselves in a room
	with a blackboard and coffee maker to conduct their business."
	--Bruce A. Schumm, Deep Down Things


More information about the XeTeX mailing list