Hello Hans, Hans Hagen wrote: > > Hi, > > I think that the problem is as follows: > > -- you want toi use times > -- you want to use the files already on the system > -- so you load the berry typescript > -- context does then assume ec encoding > -- since we deal with times, pdftex assumes embedding > -- but the ec name (ending with 8t) is not in the psfonts file > -- about which pdftex does not care since it is resident > > now, can you see what happens when instead you use 8r encoding? > > \usetypescript [berry] [8r] > > instead of [berry] [ec] (if that works ok, i'll change it in the typescript) > > those names have entries in the psfonts.map file. No, this does not work, doing so I have just plain A, U etc. instead of umlauted and accented ones. > > Alternatively, you can just generate the ec-.... names (using texfont, see > texfont.dat) and forget about the berry mapping. This works! I did not use texfont (will try it soon, now we celebrate 10 years of Ukraine "independence" so I'm mostly hanging around looking at fireworks and such). I manually copied utmr8t.tfm to ec-utmr8a.tfm, created file foo.map (just to try) with lines like ec-utmr8a <ec.enc <utmr8a.pfb and loaded it with loadmap[foo], and here I have all accents in proper places. However, I still wonder why the old method did not work. After \definetypeface[tms][rm][serif][times][default][encoding=ec] \usetypescript[berry][ec] \setupbodyfont[serif,tms] I got that \characterencoding is @default@, not @ec@, while \usetypescript[berry][ec] implies that \Adiaeresis is \@ec@Adiaeresis, not \@default@Adiaeresis. I guess this is because some @@fontencoding becomes @default@ while defining typeface in such a way, despite [encoding=ec]. I see inconsistency here. Or there isn't? I want to learn a way to use some cyrillic fonts, maybe in different encodings, and make it as seamless as possible, that's why I'd wish to do it the *right* way, not just working somehow. Olya
