From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3745 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: installing fonts... Date: Sun, 07 Jan 2001 23:35:01 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010107233501.01d25670@200.1.1.1> References: <01010700302702.05955@pc.jaywalk.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394465 19726 80.91.224.250 (23 Oct 2002 17:34:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:34:25 +0000 (UTC) Cc: NTG-ConTeXt Original-To: Roef Ragas In-Reply-To: <01010700302702.05955@pc.jaywalk.nl> Xref: main.gmane.org gmane.comp.tex.context:3745 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3745 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 -------------------------------------------------------------------------