RE: [NTG-context] Encoding and mapping glyphs from an expert font
![](https://secure.gravatar.com/avatar/4d93e6d89c1355aade84cc5c1d6a2065.jpg?s=120&d=mm&r=g)
Hi Adam, Thank you so much for your help...
===== Original Message From "Adam Lindsay"
===== Idris Samawi Hamid said this at Sat, 9 Apr 2005 15:02:51 -0600: By the way, I still don't understand how placing, e.g., /zerooldstyle in the respective /zero position in an encoding file will instruct LatinModern to pick up the glyph from cmmi10. In, for example,
==================================================== texnansi-lmb10 LMRomanDemi10-Regular
How does ConTeXt know that /zerooldstyle is to be mapped to cmmbi10? I must be missing something....
I think I'm missing something from your description. What markup are you using in your source in order to ascribe these magical properties to OldStyle? Are you aware of the default mapping of OldStyle to MathItalic?
Well, Hans claimed this could be done without virtual fonts, and I was trying to follow his implementation. Could you tell me where the default mapping of OldStyle to MathItalic is documented/implemented in the sources? Maybe I could make a similar mechanism for my normal-expert dyad. Best and thnx a million Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
![](https://secure.gravatar.com/avatar/a5d42c1ccacf33c72fd502fe1bb5ffa9.jpg?s=120&d=mm&r=g)
Idris Samawi Hamid said this at Sat, 9 Apr 2005 16:30:35 -0600:
Could you tell me where the default mapping of OldStyle to MathItalic is documented/implemented in the sources? Maybe I could make a similar mechanism for my normal-expert dyad.
font-ini for os > OldStyle type-syn for OldStyle > MathItalic in most cases. But I would recommend looking at font variants. The "palatino bonus" at the end of type-syn is a brief example, and the wiki has some stuff about Font Variants as well. But wait, where are you coming from? Are your source fonts really Minion .pfbs, or are they from OpenType? With OpenType, you can use some nice TeXFont stuff to select the features (OSF, SC, alternates) without having to draw from two arbitrary encodings. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
On Sun, 10 Apr 2005 00:22:31 +0100, Adam Lindsay
Idris Samawi Hamid said this at Sat, 9 Apr 2005 16:30:35 -0600:
Could you tell me where the default mapping of OldStyle to MathItalic is documented/implemented in the sources? Maybe I could make a similar mechanism for my normal-expert dyad.
font-ini for os > OldStyle type-syn for OldStyle > MathItalic in most cases.
Thnx; I'll take a look. I want to understand the entire chain from texnansi-os-public-lm.map ==> texnansi-os-lm.enc ==> cmmi instead of lmr I think I understand the first two links, just need to track down the last one now...
But I would recommend looking at font variants. The "palatino bonus" at the end of type-syn is a brief example, and the wiki has some stuff about Font Variants as well.
ok
But wait, where are you coming from? Are your source fonts really Minion .pfbs, or are they from OpenType? With OpenType, you can use some nice TeXFont stuff to select the features (OSF, SC, alternates) without having to draw from two arbitrary encodings.
Right now I am using some pfb's. Following your advice here http://semantics-online.org/geek/2003/09/how_to_install_adobe_garamond_for_l... I ordered the Adobe classics pack and should soon have the open type versions as well (except for Poetica:-<). Thnx and good night:-) Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
On Sun, 10 Apr 2005 00:22:31 +0100, Adam Lindsay
But wait, where are you coming from? Are your source fonts really Minion .pfbs, or are they from OpenType? With OpenType, you can use some nice TeXFont stuff to select the features (OSF, SC, alternates) without having to draw from two arbitrary encodings.
I am very interested in the Open Type trickery. I have been wrestling for quite some time about the problem of multiple accents over ligatures in Arabic. I can do it in Aleph but the present procedure (due originally to Yannis) is much too slow and cumbersome, especially when dealing with huge fonts (my present virtual ovf has about 10,000 characters!). I finally found a solution that OpenType might help with--multiple glyphs for one character. I can implement this without OpenType, but OpenType opens the possiblity for word searches in Acrobat of Arabic text, something that is well-nigh impossible with the usual pfb approach. While we will still need huge fonts, the processing of complicated accents should be much faster with the approach I have in mind (smaller otp's and ovf's). Do you think TeXFont can be tweaked to generate ovf's and ofm's as well? Take care Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
![](https://secure.gravatar.com/avatar/a5d42c1ccacf33c72fd502fe1bb5ffa9.jpg?s=120&d=mm&r=g)
Idris Samawi Hamid said this at Sat, 9 Apr 2005 19:27:21 -0600:
On Sun, 10 Apr 2005 00:22:31 +0100, Adam Lindsay
wrote: But wait, where are you coming from? Are your source fonts really Minion .pfbs, or are they from OpenType? With OpenType, you can use some nice TeXFont stuff to select the features (OSF, SC, alternates) without having to draw from two arbitrary encodings.
I am very interested in the Open Type trickery. I have been wrestling for quite some time about the problem of multiple accents over ligatures in Arabic. I can do it in Aleph but the present procedure (due originally to Yannis) is much too slow and cumbersome, especially when dealing with huge fonts (my present virtual ovf has about 10,000 characters!). I finally found a solution that OpenType might help with--multiple glyphs for one character. I can implement this without OpenType, but OpenType opens the possiblity for word searches in Acrobat of Arabic text, something that is well-nigh impossible with the usual pfb approach.
I have to admit that last issue is one that I've stepped lightly around.
While we will still need huge fonts, the processing of complicated accents should be much faster with the approach I have in mind (smaller otp's and ovf's).
It sounds a bit tricky with the eTeX line, because of the 256-character- per-TeX-font limit. Not necessarily impossible, but certainly contortionate. I'm led to think about XeTeX--a fair number of people on the list are happy with the AAT/OpenType support they get with some very sophisticated Arabic fonts. And when you consider the educational price of a Mac mini, you're still way below the price of some software packages... :)
Do you think TeXFont can be tweaked to generate ovf's and ofm's as well?
From my experience, it's certainly possible. For it to be done, it needs a confluence of time, motivation, and expertise! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
participants (3)
-
Adam Lindsay
-
Idris Samawi Hamid
-
Idris Samawi Hamid