ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: NTG-ConTeXt <ntg-context@ntg.nl>
Subject: Re: installing fonts...
Date: Sun, 07 Jan 2001 23:35:01 +0100	[thread overview]
Message-ID: <3.0.6.32.20010107233501.01d25670@200.1.1.1> (raw)
In-Reply-To: <01010700302702.05955@pc.jaywalk.nl>

At 12:30 AM 1/7/01 +0100, Roef Ragas wrote:
>
>Let's say I want to buy a font, the Quadraat Sans for example, a goodlooking 
>sans serif by Fred Smeijers (www.fontshop.com).
>FontShop can provide those fonts in PostScript. How difficult is it, to use 
>fonts like these in ConTeXt?

Others already pointed out some strategies. Maybe we should try to make
this some service somehow. 

The complication is mainly in getting the fonts in a suitable encoding. The
standard tex encoding has the accents in funny places, so you can't use
this to make composed chars, and for using the built on composed chars, you
would need for instance a conversion to ec or texnansi encoding [tfm and/or
vf files]. 

I'm in the process of redefining encoding vectors to use named glyphs and
multiple methods [thanh: remind me that we have to discuss vietnamese!]. I
can provide a simple vector that uses the accents in the standard adobe
positions with composed chars them, which would work for nl/de/fr as a
quick and dirty method.] 

What you can try is to copy the content of font-phv.tex to for instance
roef.tex and to replace the Helvetica names with your font names: 

\define... [Sans...] [yourname] [encoding=texnansi] 

and see what happens when you say 

\setupbodyfont[sans,10pt]

abcdef... \"e \"i etc. If the dutch accented chars come out ok, you're
safe. If ii'm right, texnansi encoding is nearly suitable for all standard
fonts. 

Otherwise, I should accept thanh's offer to make you suitable ec encoded
tfm files -) 

Hans

-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  parent reply	other threads:[~2001-01-07 22:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-06 23:30 Roef Ragas
2001-01-07  6:46 ` Frans Goddijn
2001-01-07  9:26 ` Johannes H?sing
2001-01-07  9:58   ` Frans Goddijn
2001-01-07 12:14 ` Han The Thanh
2001-01-07 22:35 ` Hans Hagen [this message]
2008-07-17 14:12 Jörg Hagmann
2008-07-17 14:26 ` Aditya Mahajan
2008-07-17 15:15   ` Jörg Hagmann
2015-04-24 11:49 Installing fonts david.boerschlein
2015-04-24 11:58 ` Wolfgang Schuster
2015-04-24 13:50 ` Aditya Mahajan

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=3.0.6.32.20010107233501.01d25670@200.1.1.1 \
    --to=pragma@wxs.nl \
    --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).