ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris Samawi Hamid <ishamid@lamar.colostate.edu>
Subject: RE: Encoding and mapping glyphs from an expert font
Date: Sun, 10 Apr 2005 01:37:28 -0600	[thread overview]
Message-ID: <426D1F70@webmail.colostate.edu> (raw)

Hi Thomas, Adam, and all...

>===== Original Message From "Thomas A.Schmitz" <thomas.schmitz@uni-bonn.de>
>So there is no simple answer to your question. TeX knows to pick up
>zerooldstyle instead of zero either
>1. because you have a virtual font that says MAPFONT 1, so it knows it
>will have to use a different pfb than for the rest, or
>2. because the encoding file points to character zerooldstyle within
>the ttf.

You are right. I just realized that I misunderstood what Hans meant by 
avoiding virtual fonts:

I was assuming all this time that the

\usetypescript[map][latin-modern-os][texnansi]

setup was mapping latin modern to cmmi10, etc. I looked at the log of a test 
file for latin-modern-os: no mention of cmmi10, etc. I looked at the pdf, 
listed all fonts, and boom, only one font, lmr12.pfb. I opened lmr12 in 
FontLab and, lo and behold, it contains a palette of old style numerals!

So what Hans meant was that there is no need for a virtual font to remap lmr 
itself, not that you could actually map the numerals of lmr to cmmibi without 
a virtual font. The OldStyle to MathItalic mappings are apparently useful for 
local switches like \os, but not for global setups.

Oh well, I certainly learned a lot about fonts and ConTeXt this past 
day-and-a-half, so I guess it was not a total waste of time. Now I guess I 
have to make some virtual fonts (sigh), so it's now on to Thomas' how-to.

Thnx to all
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

             reply	other threads:[~2005-04-10  7:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-10  7:37 Idris Samawi Hamid [this message]
2005-04-12 17:48 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2005-04-09 22:30 Idris Samawi Hamid
2005-04-09 23:22 ` Adam Lindsay
2005-04-10  1:17   ` Idris Samawi Hamid
2005-04-09 22:10 Idris Samawi Hamid
2005-04-09 21:02 Idris Samawi Hamid
2005-04-09 21:54 ` Thomas A.Schmitz
2005-04-09 21:56 ` Adam Lindsay

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=426D1F70@webmail.colostate.edu \
    --to=ishamid@lamar.colostate.edu \
    --cc=ntg-context@ntg.nl \
    /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).