[OS X TeX] font problem

Jonathan Kew jonathan_kew at sil.org
Sat Feb 4 04:32:39 EST 2006


On 4 Feb 2006, at 9:11 am, Peter Dyballa wrote:

>
> Am 04.02.2006 um 03:33 schrieb KL Tah:
>
>> !LaTeX Error: Font family `U+times' unknown.
>>
>
> I think you are using Times as default roman font and an Unicode  
> encoding ... Can you show a bit more from the file's header?
>
> If my assumption is right you would need to create a Font  
> Definition (.fd) file that maps an Unicode input encoding to  
> (some?) font encodings. But honestly, I never tried to use Unicode  
> in LaTeX!

Perhaps you're running XeTeX rather than standard pdfTeX? If that's  
the case, you can select fonts using Will Robertson's fontspec.sty,  
rather than the traditional \usepackage{times} or similar; something  
along the lines of:

	\usepackage{fontspec}
	\defaultfontfeatures{Mapping=tex-text}
	\setromanfont{Times Roman}

should be all it takes to get started.

JK

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list