From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9322 Path: main.gmane.org!not-for-mail From: Peter Sojan Newsgroups: gmane.comp.tex.context Subject: Small-Caps and Old-Style numbers Date: Thu, 19 Sep 2002 13:21:05 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020919112104.GA14492@zargon-client1.chello.at> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035399660 2274 80.91.224.250 (23 Oct 2002 19:01:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:01:00 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:9322 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9322 Hi! I took my Adobe Garamond font package from LaTeX (with all the virtual fonts defined etc.) and adapted it to work with Context (by inspecting the LaTeX .fd files): ----------------------------------------------------------------- \usetypescriptfile[type-buy] \starttypescript [serif] [garamond] [ec] \definefontsynonym [Garamond-Roman] [padr9e] [encoding=ec] \definefontsynonym [Garamond-Bold] [padb9e] [encoding=ec] \definefontsynonym [Garamond-Italic] [padri9e] [encoding=ec] \definefontsynonym [Garamond-Bold-Italic] [padbi9e] [encoding=ec] \definefontsynonym [Garamond-Caps] [padrc9e] [encoding=ec] \definefontsynonym [Garamond-Bold-Caps] [padbc9e] [encoding=ec] \stoptypescript \starttypescript [serif] [garamond] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Garamond-Roman] \definefontsynonym [SerifBold] [Garamond-Bold] \definefontsynonym [SerifItalic] [Garamond-Italic] \definefontsynonym [SerifBoldItalic] [Garamond-Bold-Italic] \definefontsynonym [SerifCaps] [Garamond-Caps] \definefontsynonym [SerifBoldCaps] [Garamond-Bold-Caps] \stoptypescript \starttypescript [Garamond] \definetypeface [MyGaramond] [rm] [serif] [garamond] [default] [encoding=ec] \stoptypescript ----------------------------------------------------------------- Everything works fine! Two questions left: 1. Bold-Caps, how do I access them? Is something like "SerifBoldCaps" allowed? 2. How should I integrate Old-Style numbers, so that a switch with \os works? Under Latex the solution from the packager was to reimplement all fonts with a different filename. That is instead of padr9e, padr9d would be used for Garamond-Roman with Old-Style numbers. Obviously this (virtual) font maps-in old style number-glyphs from the adobe extension font and keeps everything else as is. One solution would be to setup another typescript with old-style fonts and switch to it everytime directly by \usetypescript and \switchtobodyfont. But using "\os" would just be nicer. Thx, Peter