* Palatino truetype: help!
@ 2005-08-26 12:51 VnPenguin
2005-08-29 12:42 ` Taco Hoekwater
2005-08-29 20:54 ` Hans Hagen Outside
0 siblings, 2 replies; 5+ messages in thread
From: VnPenguin @ 2005-08-26 12:51 UTC (permalink / raw)
Hi all,
I'm trying to use the font Palatino truetype with ConTeXt under teTeX
3.0 (FC4) by following the guide at
http://home.salamander.com/~wmcclain/context-help.html :
1. I have already all 4 files: palabi.ttf, palab.ttf, palai.ttf,
pala.ttf (under /usr/share/texmf/fonts/truetype/mscore folder)
2. I have already also all necessary tfm, vf (provided by vnTeX
3.0-rc1 of Han The Thanh)
3. I created a file named "type-pala.tex" with the following content:
--------------------- begin type-pala.tex ----------------------------------
\usetypescriptfile[type-buy]
\starttypescript [serif] [mspalatino] [t5]
\usetypescript[serif][fallback]
\definefontsynonym [PalatinoLinotype-Roman] [lprr8v] [encoding=t5]
\definefontsynonym [PalatinoLinotype-Bold] [lprb8v] [encoding=t5]
\definefontsynonym [PalatinoLinotype-Italic] [lprri8v] [encoding=t5]
\definefontsynonym [PalatinoLinotype-BoldItalic] [lprbi8v] [encoding=t5]
\stoptypescript
\starttypescript [serif] [mspalatino] [name]
\definefontsynonym [Serif] [PalatinoLinotype-Roman]
\definefontsynonym [SerifBold] [PalatinoLinotype-Bold]
\definefontsynonym [SerifItalic] [PalatinoLinotype-Italic]
\definefontsynonym [SerifBoldItalic] [PalatinoLinotype-BoldItalic]
\stoptypescript
\starttypescript [MSPalatino] [t5]
\definetypeface [MyPalatino] [rm] [serif] [mspalatino] [default] [encoding=t5]
\stoptypescript
----------------------- end of type-pala.tex
----------------------------------------------------
and a test file :
--------------------------- begin of test.tex
------------------------------------------------
\loadmapfile[mscorevn.map]
\language[vn]
\mainlanguage[vn]
\enableregime[utf]
\setupencoding[default=t5]
\setupbodyfont[reset]
\usetypescriptfile[type-pala]
\usetypescript[MSPalatino]
\setupbodyfont[MyPalatino,12pt]
\starttext
Vietnamese UTF-8 text here
\stoptext
------------------------- end of test.tex
--------------------------------------------------
In the map file mscorevn.map
($HOME/texmf/fonts/map/pdftex/vnextra/mscorevn.map)
I see :
------------------------------ mscorevn.map
------------------------------------------------------
lprr8v PalatinoLinotype-Roman " T5UniEncoding ReEncodeFont "
<t5uni.enc <pala.ttf
lprb8v PalatinoLinotype-Bold " T5UniEncoding ReEncodeFont " <t5uni.enc
<palab.ttf
lprri8v PalatinoLinotype-Italic " T5UniEncoding ReEncodeFont "
<t5uni.enc <palai.ttf
lprbi8v PalatinoLinotype-BoldItalic " T5UniEncoding ReEncodeFont "
<t5uni.enc <palabi.ttf
------------------------------------------------------------------------------------
But unfortunatly my PDF has always CMR12 font, no Palatino at all :(
I'm completly newbie with typescript & font in ConTeXt.
With pdflatex, I could use this Palatino font without any problem.
Could you help me please ,
Thank you,
Regards
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Palatino truetype: help!
2005-08-26 12:51 Palatino truetype: help! VnPenguin
@ 2005-08-29 12:42 ` Taco Hoekwater
2005-08-30 0:19 ` Adam Lindsay
2005-08-29 20:54 ` Hans Hagen Outside
1 sibling, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2005-08-29 12:42 UTC (permalink / raw)
VnPenguin wrote:
> But unfortunatly my PDF has always CMR12 font, no Palatino at all :(
> I'm completly newbie with typescript & font in ConTeXt.
Same result here, and I don't understand why (however, I not very
familiar with typescripts myself).
Taco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Palatino truetype: help!
2005-08-26 12:51 Palatino truetype: help! VnPenguin
2005-08-29 12:42 ` Taco Hoekwater
@ 2005-08-29 20:54 ` Hans Hagen Outside
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen Outside @ 2005-08-29 20:54 UTC (permalink / raw)
VnPenguin wrote:
>\usetypescriptfile[type-pala]
>\usetypescript[MSPalatino]
>
>
\usetypescript[MSPalatino][t5]
or
\usetypescript[MSPalatino][\defaultencoding]
>\setupbodyfont[MyPalatino,12pt]
>
>
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Palatino truetype: help!
2005-08-29 12:42 ` Taco Hoekwater
@ 2005-08-30 0:19 ` Adam Lindsay
2005-08-30 8:16 ` Taco Hoekwater
0 siblings, 1 reply; 5+ messages in thread
From: Adam Lindsay @ 2005-08-30 0:19 UTC (permalink / raw)
Taco Hoekwater said this at Mon, 29 Aug 2005 14:42:04 +0200:
>Same result here, and I don't understand why (however, I not very
>familiar with typescripts myself).
Hmm. What's the pdftex output at the font-inclusion stage?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Palatino truetype: help!
2005-08-30 0:19 ` Adam Lindsay
@ 2005-08-30 8:16 ` Taco Hoekwater
0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2005-08-30 8:16 UTC (permalink / raw)
Never mind, it worked after I apllied Hans' change
Taco
Adam Lindsay wrote:
> Taco Hoekwater said this at Mon, 29 Aug 2005 14:42:04 +0200:
>
>
>>Same result here, and I don't understand why (however, I not very
>>familiar with typescripts myself).
>
>
> Hmm. What's the pdftex output at the font-inclusion stage?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-30 8:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-26 12:51 Palatino truetype: help! VnPenguin
2005-08-29 12:42 ` Taco Hoekwater
2005-08-30 0:19 ` Adam Lindsay
2005-08-30 8:16 ` Taco Hoekwater
2005-08-29 20:54 ` Hans Hagen Outside
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).