ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: font tryout
Date: Thu, 06 Jun 2002 00:04:33 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020605235529.03559710@server-1> (raw)
In-Reply-To: <20020604162021.GA9121@cordelia>

At 05:20 PM 6/4/2002 +0100, John Devereux wrote:
>Hi Hans, everyone. I hope you don't mind if I add on a question of my
>own here.
>
>
>* Hans Hagen (pragma@wxs.nl) wrote:
>
>
> > \setupencoding[default=ec]
> > \usetypescript [berry] [ec]
> >
> > \setupbodyfont[pos,10pt]
> >
> > some text in times
>
>That's the first time I have succeeded in getting any font other
>than computer modern! Thanks.
>
>The above comes out using the URW fonts. If I use dvips -Ppdf on the
>DVI file, they get included into the PDF file.  What I want to do is
>use the fonts *built into* Acrobat. That way, the file size will be
>smaller.
>
>In latex, for example, I did this using the txfonts package:
>
>\usepackage{txfonts}

\usetypescript[times][ec] \setupbodyfont[times]

will give you tx etc, same for palatino

>This ended up with everything in Times-Roman, which did not get
>embedded so the file size was minimal.
>
>Could you tell me how to do this with ConTeXt? I don't know enough to
>be able to tell if this is really a Context question, but any pointers
>would be appreciated.

embedding is controlled by the pdftex map files; i strongly suggest to 
always embed the fonts, since metrics may vary (search for mails from 
george white and nelson beebe on th epdftex list for explanations).

>Also, what is the a direct way to specify a font, (by filename?), without
>using all the Context font infrastructure which I do not understand yet.
>
>For example,
>
>..
>\usethisfontrightnow[utmr8a]
>Stuff in Nimbus Roman No9 L Regular

\definefont[thisfont][utmr8a at 137pt]

even better:

\usetypescript [serif] [times] [ec]

\definefont[thisfont][Times-Roman] \thisfont ...

that way you also get the encoding related thinsg right

(optionally you can define the interlinespacing)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


      parent reply	other threads:[~2002-06-05 22:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01 10:24 Kris Hermans
2002-06-02  7:59 ` Nigel King
2002-06-02 12:56   ` Ville Voipio
2002-06-03 13:26     ` Kris Hermans
2002-06-03 13:43       ` Hans Hagen
2002-06-03 21:02         ` Jonathan Beach
2002-06-04  5:26         ` Kris Hermans
2002-06-04 16:20         ` John Devereux
2002-06-04 18:53           ` Bill McClain
2002-06-05 22:04           ` Hans Hagen [this message]

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=5.1.0.14.1.20020605235529.03559710@server-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).