ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* RE: My ConTeXt cannot use Type1 fonts...
@ 2005-03-31 18:01 Idris Samawi Hamid
  0 siblings, 0 replies; 3+ messages in thread
From: Idris Samawi Hamid @ 2005-03-31 18:01 UTC (permalink / raw)


>===== Original Message From mailing list for ConTeXt users 
<ntg-context@ntg.nl> =====
>Recently I installed the latest stable version of ConTeXt under MiKTeX
>(b20050215).
>To use Chinese characters in ConTeXt, I installed some Chinese Type1 fonts
>and related map/enc files.
>However, I found "texexec --pdf foo.tex" cannot read Type1 Chinese fonts.
>In this case, ConTeXt uses pk fonts (generated from ttf fonts), and finally
>I got pdf files with very low quality.

I use fpTeX, so I may be missing something...

Question: Do you have both ttf and pfb versions of the same font? If so, try 
removing the ttf version (and refresh fndb).

I think that it is much better to have separate map files for your add-on 
fonts, instead of adding them to psfonts.map (of course you will have to edit 
your dvips and dvipdfm configuration files as well if you do this). Make a 
dedicated map file for your font and place it in your local 
\fonts\map\pdftex\context. See, e.g.,

texnansi-urw-times.map

for syntax. Refresh the fndb, and try again.

If things still don't work, compile a very simple file that uses that font and 
send a copy of your log file to the list. Then somebody will be in a better 
position to determine what's wrong.

A final possibility (but I'm not sure if this will work for Chinese or other 
non-Latin fonts): remove all reference to your font from your ConTeXt system 
(tfm's, map's, ttf's, pfb's, etc). See if texfont can install your font. Place 
the pfb's in a temporary directory and run

texfont --ma --in --ve=<maker of your font> --co=<your typeface name>

This should install the font for you, with proper map files, tfm's, etc. My 
only worry is that texfont may need some additional encoding information for 
Chinese.

Don't give up!

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <20050331203717.54552128B8@ronja.ntg.nl>]

end of thread, other threads:[~2005-04-01 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050331155756.3CE24128B8@ronja.ntg.nl>
2005-03-31 17:23 ` My ConTeXt cannot use Type1 fonts 李 树钧
2005-03-31 18:01 Idris Samawi Hamid
     [not found] <20050331203717.54552128B8@ronja.ntg.nl>
2005-04-01 17:04 ` 李 树钧

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