On 11/10/07, John Culleton wrote:
On Saturday 10 November 2007 06:07:39 am Mojca Miklavec wrote:
On 11/9/07, Jeff Smith wrote:
Hi again, When I run:
fc-list
I do see my fonts listed (after a fc-cache -f). What do I need more?
You can either use
\definetypeface[MyFace][rm][Xserif][Font Name] \setupbodyfont[MyFace,12pt]
Ah, interesting. And what exactly is the content of Font Name? for example if fc-list displays: Bitstream Charter:style=Regular
does that whole string go into the space for "Font Name"?
Unless it's broken this should work: \definetypeface[MyFace][rm][Xserif][Bitstream Charter]
Here is a more complex example: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
I assume, perhaps wrongly, that this is in lieu of creating a typescript.
I don't know how it works in that case, I should test. Xserif uses "/B", "/I" and "/BI" to get \bf, \it and \bi working. I have no idea how XeTeX handles "condensed bold oblique", but I would guess that you can provide \definetypeface[MyFace][rm][Xserif][DejaVu Sans Condensed]
The whole subject raises interesting possibilities for straying off the traditional TeX reservation as far as font selection is concerned.
I use the TeXLive distro, but with pdftex updated to pdfTeX 3.141592-1.40.5-2.2 (Web2C 7.5.6)
But you need XeTeX for that. Mojca