ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš" <lpr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: How to use a true type font?
Date: Wed, 22 Sep 2010 11:02:34 +0200	[thread overview]
Message-ID: <op.vjffekje8lgizc@lk-2008-nbk> (raw)

Hello,

I'm trying to use the BrickToBrick.ttf font.

It can be freely downloaded from  http://moorstation.org/typoasis/designers/klein05/pic05/brick2brick.htm.

Problems are:

1) What's the best destination where the BrickToBrick.ttf should be placed? (Now, I've copied the file to c:\ConTeXt\tex\texmf-local\BrickToBrick.ttf.)

2) How to make ConTeXt realize that a new (.ttf) font has been added to use? Is it necessary to run any special routine?

3) How to use the font? I tried:


\definefont[BRICK][BrickToBrick.ttf at 30pt]

\starttext

      {\BRICK

       abcdefghijklmnopqrtsuvwxyz
       ABCDEFGHIJKLMNOPQRTSUVWXYZ
       0123456789
      }

\stoptext


But I got just letters and numbers.

4) Another thing is that there are only 14 pictures (= letters) in the font. So I don't know whether to use them via "a", "b", "c"... and what would happen for "z" as for 25th letter, or how.

- I saw this font working - it was used in the thick "Book of Fonts III" by Pavel Stříž; it was used in the right bottom quarter at page 171. But the book was typeset by pdfLaTeX and I'd like to make it work in ConTeXt.

Thank you in advance.

Lukas


___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2010-09-22  9:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22  9:02 Procházka Lukáš [this message]
2010-09-22  9:09 ` luigi scarso
2010-09-22 10:06 ` Mojca Miklavec
2010-09-22 10:16   ` Mojca Miklavec
2010-09-22 10:23     ` Hans Hagen
2010-09-22 11:49     ` Arthur Reutenauer
2010-09-22 12:04     ` Procházka Lukáš
2010-09-22 12:11       ` Mojca Miklavec
2010-09-22 12:20         ` Hans Hagen

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=op.vjffekje8lgizc@lk-2008-nbk \
    --to=lpr@pontex.cz \
    --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).