ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Zhichu Chen" <zhichu.chen@gmail.com>
Subject: Re: Still have no idea about how to specify fonts in JavaScript fields.
Date: Thu, 23 Nov 2006 10:46:07 +0800	[thread overview]
Message-ID: <769ba7780611221846j3fba988ds29af30665b61b92@mail.gmail.com> (raw)
In-Reply-To: <456458A2.9040104@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

Hi, Hans

Thank you for your example.

I just figured out that once PDF cannot find the specified font, it
will look for a truetype font which has the similar font metrics. Now
I know what to do and has just succeeded:

First, I install a truetype font to ConTeXt---by using texfont of
course---so that ConTeXt can use it;
Then specify the field's textFont attribution to the truetype font name;
Finally, it looks all great.

I think it should work on Type1 fonts too.

I hope I can attach all .ttf, .tfm files to you, but it seems that the
mailing list has a 40K limitation.

-- 
Sincerely yours,
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------

[-- Attachment #2: demo-test.zip --]
[-- Type: application/zip, Size: 31666 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-11-23  2:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22 12:14 Zhichu Chen
2006-11-22 14:03 ` Hans Hagen
2006-11-23  2:46   ` Zhichu Chen [this message]
2006-11-23 11:42     ` Hans Hagen

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=769ba7780611221846j3fba988ds29af30665b61b92@mail.gmail.com \
    --to=zhichu.chen@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).