Journal N3Roaster's Journal: XeTeX OpenType Names on Mac
I decided that I'd try out XeTeX since it seemed like it would be the easiest way to use some of the fonts installed on my system with TeX (Plain TeX, I'll look into LaTeX later but I use that less). Following an example from the XeTeX site, I try to put together a quick little document to see if I understand font selection properly and... well, some of the names that I try work and some of them, not so much. After a little searching, I came across a partial solution which I'm posting here in hopes that future searchers might find a working solution faster. To get a list of usable font names for OpenType fonts, use this:
$ otfinfo -i
At least on my system, every name listed with that works in XeTeX with \font. That doesn't get you TrueType fonts. A list of installed fonts (which will include all of the fonts listed with the above command plus non-OpenType fonts) is available through the Font Book application, but the font name given there does not always work. Fortunately, so far I've only noticed this on Plain styles which means that just using the family name works.
XeTeX OpenType Names on Mac More Login
XeTeX OpenType Names on Mac
Slashdot Top Deals