TeX Font Mapping
- by reprogrammer
I am using a package written on top of XeLaTeX. This package uses fontspec to specify fonts for different parts of your text: latin, non-latin, math mode, ...
The package comes with several sample files. I was able to xelatex most of them that depend on regular ttf or otf files. However, one of them tries to set the font of digits in math mode to some font, say "NonLatin Digits". But, the font doesn't seem to be a regular font. There are two files in the same directory called "nonlatindigits.map" and "nonlatindigits.tec". TECkit uses these mapping files to generate TeX fonts. However, for some reason it fails to create the files, and xelatex issues the following error message.
kpathsea: Invalid fontname `NonLatin Digits', contains ' '
! Font \zf@basefont="NonLatin Digits" at 10.0pt not loadable: Metric (TFM) file or
installed font not found.
The kpathsea program complains about the whitespace, but removing the whitespace does solve the problem with loading the TFM file.
Any clues what I am doing wrong?