I am currently trying to get the mara font loaded into XeTeX.  Here's some 
information about the font (via fontforge):
file: marafont.ttf
Fontname: MaraFontNFPlain:
Family Name: MaraFontNF Plain:
(yes, the colons are in the name)

I've tried a couple of ways, using both the fontname and the family name, both 
with and without the ending semi-colons; however, it fails at compile time.

Here's some sample code:
\definetypeface[Mara][rm][Xserif][MaraFontNF Plain]

\starttext
\startfont[Mara]
This is a test.
\stoptext


Here's the relevant output from the log file, which looks very similar to the 
output of a font that works:
! Font \**\thedefinedfont**:=Mara at 12.0pt not loadable: Metric (TFM) file or 
installed font not found.                                                      
<to be read again>                                                             
                   \relax                                                      
\dododefinefont ...ontspec {#2}\rawfontidentifier                              
                                                  \let 
\localrelativefontsiz...

\redodefinefont #1#2#3->\dododefinefont {#1}{#2}
                                                \doifsetupselse {#3} 
{\setup...

\dodefinedfont ...ring \thedefinedfont \endcsname 
                                                  \the \everydefinedfont 
l.7 \startfont[Mara]                                                     
                                                                         
?                                                                        
! Emergency stop.                                                        
<to be read again>                                                       
                   \relax                                                
\dododefinefont ...ontspec {#2}\rawfontidentifier
                                                  \let 
\localrelativefontsiz...

\redodefinefont #1#2#3->\dododefinefont {#1}{#2}
                                                \doifsetupselse {#3} 
{\setup...

\dodefinedfont ...ring \thedefinedfont \endcsname
                                                  \the \everydefinedfont
l.7 \startfont[Mara]

End of file on the terminal!



How do I get the font loaded?

Thanks,
Bart
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to