ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Olya Briginets <bolya@ukrpost.net>
Subject: Re: Still don't understand how to switch fonts in the new context / ecversus 8r
Date: Sun, 26 Aug 2001 10:23:43 +0300	[thread overview]
Message-ID: <3B88A3FF.D33C8AFA@ukrpost.net> (raw)
In-Reply-To: <5.1.0.14.1.20010824095458.00a80988@server-1>

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


  reply	other threads:[~2001-08-26  7:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-21 10:15 Still don't understand how to switch fonts in the new context Olya Briginets
2001-08-21 13:45 ` Hans Hagen
2001-08-21 19:59   ` Olya Briginets
2001-08-22 12:06     ` Hans Hagen
2001-08-22 18:28       ` Olya Briginets
2001-08-23 16:17         ` Hans Hagen
     [not found]       ` <5.1.0.14.1.20010823181735.0256b7d0@server-1>
     [not found]         ` <3B858F30.4DF1A13B@ukrpost.net>
2001-08-24  8:04           ` Still don't understand how to switch fonts in the new context / ec versus 8r Hans Hagen
2001-08-26  7:23             ` Olya Briginets [this message]
2001-08-27  7:56               ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B88A3FF.D33C8AFA@ukrpost.net \
    --to=bolya@ukrpost.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).