ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pierre Huyghebaert <pierre@speculoos.com>
To: ntg-context@ntg.nl
Subject: Installing custom fonts?
Date: Fri, 13 Mar 2009 15:51:31 +0100	[thread overview]
Message-ID: <fc3df280903130751u1944461s52cae73f2922dfaf@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2135 bytes --]

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

-----------------------

[-- Attachment #1.2: Type: text/html, Size: 4718 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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	other threads:[~2009-03-13 14:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 14:51 Pierre Huyghebaert [this message]
2009-03-13 15:11 ` Mojca Miklavec
2009-03-13 15:19 ` Wolfgang Schuster
2009-03-13 17:50 ` Idris Samawi Hamid ادريس سماوي حامد
2009-03-13 16:42 Pierre Huyghebaert
2009-03-13 16:47 ` Wolfgang Schuster
2009-03-13 21:08   ` Mojca Miklavec
2009-03-13 17:42 Pierre Huyghebaert
2009-03-13 18:14 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc3df280903130751u1944461s52cae73f2922dfaf@mail.gmail.com \
    --to=pierre@speculoos.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).