ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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

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).