From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8149 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: font tryout Date: Thu, 06 Jun 2002 00:04:33 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020605235529.03559710@server-1> References: <5.1.0.14.1.20020603154226.02bbac80@server-1> <5.1.0.14.1.20020603154226.02bbac80@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398578 25124 80.91.224.250 (23 Oct 2002 18:42:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:42:58 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: John Devereux In-Reply-To: <20020604162021.GA9121@cordelia> Xref: main.gmane.org gmane.comp.tex.context:8149 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8149 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 -------------------------------------------------------------------------