ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Yanrui Li" <liyanrui.m2@gmail.com>
To: ntg-context@ntg.nl
Subject: A problem in fallback fonts of MkIV
Date: Thu, 2 Oct 2008 00:30:35 +0800	[thread overview]
Message-ID: <c3f901470810010930u42f16e5cve11d06e0bb42ee1e@mail.gmail.com> (raw)

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

Hi, Hans:

When I used AdobeSongStd-Light as my main font and used
LMRoman10-Regular as the fallback font, I found that the spaces
between Chinese characters and English words are perfect, for example:

\definefontfeature
  [zh][mode=node,script=hang,lang=zhs]
\definefontsynonym
  [zhserif][name:AdobeSongStd-Light][features=zh]
\definefontfallback
  [westernserif]
  [name:LMRoman10-Regular][0x0000-0x0400][force=yes]
\definefontsynonym
  [song][zhserif][fallbacks=westernserif]
\definefont[myfont][song at 12pt]

\starttext
\myfont
中文 English 之间的间隔\par
中文~English~之间的间隔\par
中文\;English\;之间的间隔
\stoptext

But, when I used SimSun instead of AdobeSongStd-Light, the spaces
between Chinese characters and English words became larger and ugly.
In previous example, spaces in the first two lines of text are larger
than those in the third one, even the spaces between English words
also become larger. I remerbered what you said, the fallback fonts can
be independent of the main font. However, I think the spaces between
the words are releated to the main font.

Would you give me a method for solving this problem? The pdf files
used as comparison are attached to in the mail and you can do a
comparative analysis.

Thanks.

by Li Yanrui

[-- Attachment #2: example.tar.gz --]
[-- Type: application/x-gzip, Size: 12378 bytes --]

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2008-10-01 16:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 16:30 Yanrui Li [this message]
2008-10-02 19:55 ` Wolfgang Schuster
2008-10-02 22:46 Yanrui Li

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=c3f901470810010930u42f16e5cve11d06e0bb42ee1e@mail.gmail.com \
    --to=liyanrui.m2@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).