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: Sat, 9 Apr 2005 16:10:51 -0600	[thread overview]
Message-ID: <426BBE0D@webmail.colostate.edu> (raw)

Thank you very much for responding, Thomas.

>===== Original Message From "Thomas A.Schmitz" <thomas.schmitz@uni-bonn.de> 
=====
>I am not sure I have understood everything you write, but here's a very
>brief outline of what I think you need to do. There are two cases you
>need to consider:

I am in case 1: pfb-normal + pfb-expert

>1. You have more than one font (this seems to be your case), normally
>these will be postscript type1 fonts (extensions .pfb or .pfa). If you
>want to mix characters from two fonts (say, normal letters from font A,
>oldstyle numerals and maybe small caps from font B), you can most
>easily do this via a virtual font. It's not too hard; I wrote a small
>how-to which you can find on CTAN
>(http://www.ctan.org/tex-archive/info/virtualfontshowto/?action=/tex-
>archive/info/)

<snip>

>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.

Ok, but Hans explicitly claimed to have done this for Latin Modern without 
virtual fonts, only encoding trickery (I'll c if I can find that message). 
Actually, I was really surprised when Hans said he could do this without 
virtual fonts, and have always been eager to learn the trick;->

With Alan Hoenig's help almost 2 years ago I contructed a complete virtual 
font for old style cmr using virtual fonts; I guess I can do that again 
(though with a non-TeX font I'm scared;-> I'll read your how-to). On the other 
hand, how will TeXFont handle virtual fonts? What does TeXfont need to do this 
correctly? Or do we just forget about TeXFont?

Thanks again!

Best
Idris

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

             reply	other threads:[~2005-04-09 22:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-09 22:10 Idris Samawi Hamid [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-10  7:37 Idris Samawi Hamid
2005-04-12 17:48 ` Hans Hagen
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 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=426BBE0D@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).