Hello List,
I'm also part of the design group Open Source Publishing (like Femke who ask about same entry to multiple registers a month ago). Our book is building, and it's now time to add our own custom open fonts. Quite new in the TeX field, and having traveled a bit through LaTex and Xetex, I couln't figure how to make it work. I guess that the TeX way of doing it is to write a map file, but maybe is it possible to avoid it, like with the Xetex shortcut?
I'm using texexec or texexec --xtx to compile my files (without problems) on Ubuntu Gutsy. I'm also able to use the font in other software, Inkscape by example.
But when I add this code :
\definetypeface[InitiationRitualFont][rm][Xserif][Initiated]
\setupbodyfont[InitiationRitualFont, 12pt]
\starttext
Hello List!
\stoptext
I've this error returned :
! Font \*InitiationRitualFont12ptrmtfrm*:='"mapping=tex-text at 12.0pt"' not lo
adable: installed font not found.
<to be read again>
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
\let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname
\tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
\fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies
\relax \fi \iftryingfont \...
<argument> \getvalue {\@style@ \fontstyle }
\edef \fontstyle {\fontstyle }\if...
...
l.2 \setupbodyfont[InitiationRitualFont, 12pt]
I've tried with :
- different names
- different places
- with or without the extension in the name
- with ttf or otf version of the font
- with other fonts
But maybe the problem is elsewhere and I clearly not well understand the intrications Context - Xetex - pdftex - TeX - texexec... I've search in the mailinglist archive and in the Wikigarden... Maybe to use something different than texexec?
Many thanks.
http://www.ospublish.constantvzw.org
-----------------------