ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: weg@indiscrete.org (Eythan Weg)
To: ntg-context@ntg.nl
Subject: Re: Two questions about use of system ttf fonts
Date: Sat, 01 Mar 2008 10:27:05 -0500	[thread overview]
Message-ID: <87skzaxy5y.fsf@indiscrete.org> (raw)
In-Reply-To: <47C83C87.7000707@wxs.nl>


Hans Hagen <pragma@wxs.nl>
Fri, 29 Feb 2008 18:10:31 +0100

   Eythan Weg wrote:
   
   > What does context need to find the font?
   
   mtxrun --script font --reload
   
   will generate a font database which will provide access by name
   
   Hans

I created the table as suggested above and in the file names.tma appears a
line line like:

  ["caliban"]={ "ttf", "Caliban", "Caliban.ttf",  false },

I thought one might use 

\font\test=caliban at 12pt

but this fails:  

     Font \test=caliban at 12pt not loadable: metric data not found or bad.


Now I remove the data base, and also the files 

   Caliban.tma
   Caliban.tmc

and define 

\font\test=Caliban at 12pt 

This works, provided that OSFONTDIR is well-defined in the shell.

Thank you.  eythan 


___________________________________________________________________________________
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:[~2008-03-01 15:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 15:08 Eythan Weg
2008-02-29 17:09 ` Hans Hagen
2008-03-01 14:59   ` Eythan Weg
2008-02-29 17:10 ` Hans Hagen
2008-03-01 15:27   ` Eythan Weg [this message]
2008-03-02 13:06     ` Hans Hagen
2008-02-29 18:00 ` Wolfgang Schuster
2008-03-01 15:00   ` Eythan Weg

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=87skzaxy5y.fsf@indiscrete.org \
    --to=weg@indiscrete.org \
    --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).