Dear folks,

I still can't get my Arabic fonts working. ConTeXt (omega format) keeps trying to load 
cmr12 instead. Also, setting up sizes is not clear to me.

I tried the following typescript:
=======================================================
%type-mtnaskhi.tex

\usetypescriptfile[type-buy]

\starttypescript [naskh] [mtnaskhi]
  \definefontsynonym [Mtnaskh-Roman]       [mtnaskh]  
  \definefontsynonym [Mtnaskh-Bold]        [mtnaskhb]  
  \definefontsynonym [Mtnaskh-Italic]      [mtnaskh] 
  \definefontsynonym [Mtnaskh-Bold-Italic] [mtnaskhb] 
\stoptypescript

\starttypescript [naskh] [mtnaskhi] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]           [Mtnaskh-Roman]
  \definefontsynonym [SerifBold]       [Mtnaskh-Bold]
  \definefontsynonym [SerifItalic]     [Mtnaskh-Italic]
  \definefontsynonym [SerifBoldItalic] [Mtnaskh-Bold-Italic]
\stoptypescript

\starttypescript [Mtnaskh]
  \definetypeface [MyMtnaskh] [rm] [naskh] [mtnaskhi] [default] 
\stoptypescript
===============================================================

I tried using this font as follows:
===============================================================
\usetypescriptfile[type-mtnaskhi]
\usetypescript[Mtnaskh]
\setupbodyfont[MyMtnaskh]

\starttext

<Arabic text here>

\stoptext
================================================================

Let me explain my situation. I have a font family, mtnaskhi, with 3 raw fonts: 

mtnaskh;
mtnaskhb;
mtnaskh8. 

The encoding is OT1. `mtnaskhi' is the complete family name.

These fonts constitute a ``naskh'' family analogous to a 
``roman'' or ``serif'' family in Latin. I want to use these as follows:

mtnaskh for main text greater than 9pt;
mtnaskh8 for main text smaller than 9pt (like footnotes)
mtnaskhb for bold text;

All other medium styles should be substituted by the main text fonts as dictated by 
size
All other bold styles should be substituted by the bold text font.
Each font should be scaled by 1.6. 

Put another way, I'm trying to translate the following NFSS code into typescripts:

\DeclareFontShape{OT1}{mtnaskhi}{m}{n}{
   <9-> [1.6] mtnaskh
   <-9> [1.6] mtnaskh8
}{}
\DeclareFontShape{OT1}{mtnaskhi}{bx}{n}{
   <-> [1.6] mtnaskhb
}{}

These fonts are already installed on my system and listed in config.ps and config for 
dvipdfm. Plain Omega and Lambda have worked fine up to now so the problem is not in my 
font installation.

What am I doing wrong? How do I set up my needed sizes (which I have not done in the 
above typescript).

Best wishes
Idris

==========================
Dr. Idris Samawi Hamid
Depatment of Philosophy
Colorado State University
Fort Collins, CO 80526



Reply via email to