From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7558 Path: main.gmane.org!not-for-mail From: Idris Samawi Hamid Newsgroups: gmane.comp.tex.context Subject: Font woes Date: Sat, 06 Apr 2002 21:36:13 -0700 Sender: owner-ntg-context@let.uu.nl Message-ID: <93A8UQXWTC86565DCXWDAE062WKGA7.3cafccbd@c1909372-a> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" X-Trace: main.gmane.org 1035398012 20183 80.91.224.250 (23 Oct 2002 18:33:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:33:32 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:7558 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7558 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 \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