[texhax] pdftex and Unicode

Bob Tennent rdtennent at gmail.com
Sun Aug 26 19:00:58 CEST 2018


 >|> If you want to use xetex (rather than xelatex), use
 >|>
 >|>   \font\tt="[lmmono10-regular]"
 >|>
 >|
 >|Ah! Definite progress. Thank you very much. That works, but didn't
 >|produce the
 >|glyph I was expecting.
 >|
 >|How would I force the use of the cm-super family of fonts instead of LM?
 >|Looking through the actual glyphs in the PFB files in
 >|/usr/share/texmf/fonts/type1/public/cm-super, I see that sftt1200.pfb
 >|contains
 >|the glyph I was expecting (it has a horizontal bar instead of a slanted
 >|one,
 >|which is what your suggestion produced). So how I do use that family
 >|instead
 >|of the LM family?

Try

\font\tt="[cmuntt]"

 >|
 >|(It's not obvious to me how the string
 >|"[lmmono10-regular]" gets converted to a reference to
 >|a particular installed font, so it's not clear how to
 >|change that string so that it refers to cm-super instead
 >|of lm. I have never used xetex before, and I couldn't
 >|find any documentation that explains how xetex converts
 >|"[lmmono10-regular]" to the actual LM font that is used,
 >|so I could try to change the string in a way that would
 >|cause cm-super to be used instead.)
 >|
 >|> or similar.
 >|
 >|It's the "or similar" I'm looking for help with now :-)

texdoc xetex 

will give you the details.

Bob T.


More information about the texhax mailing list