Dear folks,
I'm still trying understand the size-changing model and have discovered something
strange. Consider the following simple file. On ConTeXt from TeXLive, a straight
texexec run (under pdfetex; omega gives the same results) gives
results very different from those on page 67 of mp-cb-en.pdf:
\starttext%
%\usetypescript[cmr]
%\setupbodyfont[cmr, 12pt] % redundant, right?
\showframe
This is a test
\tfa This is a test
\tfb This is a test
\tfx This is a test
\tfxx This is a test
This is a test
\showbodyfont [cmr]
\stoptext
In particular, \tfx gives a _larger_ result than the main text size and \tfxx gives a
just slightly bolder version of the main text. There are other strange things as well.
For example, in \showbodyfont, \tfa gives smaller text than \tf!
What's going on here? I think it will be very difficult getting my own typescripts in
order if cmr itself is not configured right!
Best wishes
Idris (who has lost a lot of sleep over this)
P.S. Here is the latest version of type-arabic.tex, in case someone wants to try it
and, hopefully, help me debug it! In this case \tfx and \tfxx do nothing at all.
I will donate the complete omlgc (latin, greek, and cyrillic) and omarab typescripts
to ConTeXt once they r done, so anyone can use ConTeXt/Gamma with the default Omega
font setup (I don't actually use omarab or omlgc
on a daily basis but they provide the best benchmark for fonts under Omega, and they r
available in every TeX distribution).
Please help!
Idris
%==================================================
%type-arabic.tex
% encoding
\starttypescript [naskh] [omega] [default]
\definefontsynonym [OmegaArabic] [omarab]
\definefontsynonym [OmegaArabic-Bold] [omarabb]
\stoptypescript
%==================================================
%synonyms
\starttypescript [naskh] [omega] [name]
\definefontsynonym [Naskh] [OmegaArabic]
\definefontsynonym [NaskhBold] [OmegaArabic-Bold]
\stoptypescript
%==================================================
%sizes
\starttypescript [naskh] [default] [size]
\definebodyfont
[17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt]
[rm] [default]
\stoptypescript
\starttypescript [naskh] [dtp] [size]
\definebodyfont
[5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,13pt,14pt,16pt,18pt,22pt,28pt]
[rm] [default]
\stoptypescript
\starttypescript [naskh] [omega] [size]
\definebodyfont
[20.7pt, 17.3pt, 14.4pt, 12pt, 11pt, 10pt, 9pt, 8pt, 7pt, 6pt] [rm]
[tf=omarab,bf=omarabb]
\stoptypescript
%===================================================
%final collection
\starttypescript [omarab]
\usetypescript [naskh] [omega,default,dtp] [default,name,size]
\usemathcollection[default]
\stoptypescript
%===================================================
%typeface
\starttypescript [arabtest]
\definetypeface [omarab] [rm]
[naskh] [omega] [omega] [rscale=1.6] % [encoding=default]
\stoptypescript
%======================================================
%======================================================
%Gamma test file
\pagedir TRT %
\bodydir TRT %
\textdir TRT %
\pardir TRT
\hoffset=-8.5cm
\setupoutput[dvips] \showframe
\ocp\ArabUni=7arb2uni
\ocp\UniCUni=uni2cuni
\ocp\CUniArab=cuni2oar
\ocplist\ArabicOCP=
\addbeforeocplist 1 \ArabUni
\addbeforeocplist 1 \UniCUni
\addbeforeocplist 1 \CUniArab
\nullocplist
\starttext%
\usetypescriptfile[type-arabic]
\usetypescript[arabtest]
\setupbodyfont[omarab] \baselineskip=3ex
\pushocplist \ArabicOCP
hadhaA 'iimtiHaAnuN % This is a test
\tfa hadhaA 'iimtiHaAnuN
\tfb hadhaA 'iimtiHaAnuN
\tfc hadhaA 'iimtiHaAnuN
\tfx hadhaA 'iimtiHaAnuN
\tfxx hadhaA 'iimtiHaAnuN
\popocplist %
\stoptext
==========================
Dr. Idris Samawi Hamid
Depatment of Philosophy
Colorado State University
Fort Collins, CO 80526