From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7191 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: total font/encoding confusion Date: Sat, 9 Mar 2002 22:02:11 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <02030922021100.01304@levana> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035397671 17169 80.91.224.250 (23 Oct 2002 18:27:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:27:51 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:7191 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7191 Hi there, I know, I am very adventurous... I have tried to use a different font than computer modern :) (actually I have used some standard-postscript fonts with context before...) So I have tried to use the installed times-roman (the urw variant) and the vf's that come with the tetex distribution in T1 AKA ec encoding. So there should be a simple mapping between times-roman and ptmr8t. The rest should be done in the dvi driver. That is what I have tried: (I am using times here, because I know everybody has it). -----------type-t1times.tex-------- \usetypescriptfile [type-buy] \starttypescript [serif][t1times][ec] \definefontsynonym [Times-Roman] [ptmr8t] [encoding=ec] \definefontsynonym [Times-Italic] [ptmri8t] [encoding=ec] \definefontsynonym [Times-Bold] [ptmb8t] [encoding=ec] \definefontsynonym [Times-BoldItalic] [ptmbi8t] [encoding=ec] \definefontsynonym [Times-Slanted] [ptmro8t] [encoding=ec] \definefontsynonym [Times-BoldSlanted][ptmbo8t] [encoding=ec] \definefontsynonym [Times] [Times-Roman] \stoptypescript \starttypescript [serif][t1times][name] \usetypescript [serif][fallback] \definefontsynonym [Serif] [Times-Roman] \definefontsynonym [SerifBold][Times-Bold] \stoptypescript \starttypescript [MyTimes] \definetypeface [mytimes] [rm] [serif] [t1times] [default] [encoding=ec] \stoptypescript ---------end type-t1times.tex------------ ------------timestest.tex --------- % output=pdf \mainlanguage[de] %\enableregime[il1] \setupencoding[default=ec] \usetypescriptfile[type-t1times] \usetypescript[MyTimes] \setupbodyfont[mytimes] \starttext ä\"a "a ß \"s %\showfont \showcharacters \stoptext -----------------timestest.tex Here is a description of my output: first line: äa a SS s (both a and last s with a bar in the middle, but the "a-bar is a bit lower than the "s .) then there is a line 'default ptmr8t at 12.0pt: composed bottom char raw' after that a lot of very weird accents and Chars and black rules... There is obviously something going wrong. But what? There is for example 'textgrave' mentioned in the first position, which is in texnansi pos 18 (decimal). And in the pos 18 in ec encoding, there is quotedblleft, which is shown in the \showcharacters output. So this seems to be a bit 'correct' Don't dare to uncomment \enableregime[il1] -- the first line gets even worse :) And - don't uncomment \showfont! You can't say you haven't been warned :) BTW: I am using: This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1) entering extended mode (./timestest.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2002.1.24 fmt: 2002.1.27 int: english mes: english -- Viele Grüße, Patrick Gundlach