ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: VnPenguin <vnpenguin@gmail.com>
Subject: Palatino truetype: help!
Date: Fri, 26 Aug 2005 14:51:09 +0200	[thread overview]
Message-ID: <e5d3f265050826055198d60a3@mail.gmail.com> (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

             reply	other threads:[~2005-08-26 12:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 12:51 VnPenguin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5d3f265050826055198d60a3@mail.gmail.com \
    --to=vnpenguin@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).