ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris Samawi Hamid <ishamid@lamar.colostate.edu>
Subject: RE: My ConTeXt cannot use Type1 fonts...
Date: Thu, 31 Mar 2005 11:01:13 -0700	[thread overview]
Message-ID: <429D284F@webmail.colostate.edu> (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

             reply	other threads:[~2005-03-31 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 18:01 Idris Samawi Hamid [this message]
     [not found] <20050331203717.54552128B8@ronja.ntg.nl>
2005-04-01 17:04 ` 李 树钧
     [not found] <20050331155756.3CE24128B8@ronja.ntg.nl>
2005-03-31 17:23 ` 李 树钧

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=429D284F@webmail.colostate.edu \
    --to=ishamid@lamar.colostate.edu \
    --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).