ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Yanrui Li <liyanrui.m2@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Why can not rm or rmtf fonts be set up by \definebodyfont macro?
Date: Sun, 5 Apr 2009 21:07:36 +0800	[thread overview]
Message-ID: <c3f901470904050607k4829e00dn9cd82b29198a73d@mail.gmail.com> (raw)

These days I have been reading "co-fonts.pdf" because I plan to write
a document about
ConTeXt MkIV for our Chinese users. When I reached the part of
"Defining body fonts",
for testing bodyfont model, I made an example as following:

%%%%
\definefontsynonym[Song][AdobeSongStd-Light]
\definefontsynonym[Hei][AdobeHeitiStd-Regular]
\definefontsynonym[FangSong][AdobeFangsongStd-Regular]
\definefontsynonym[Kai][AdobeKaitiStd-Regular]

\definebodyfont[12pt][rm]
               [tf=Song,
                 bf=Hei sa 1,
                 it=Kai sa 1,
                 sl=FangSong sa 1]

\setscript[hanzi]
\setupbodyfont[rm,12pt]

\starttext

今时之人不然也,以酒为浆,以妄为常,
{\bf 醉以入房,以欲竭其精,以耗散其真},
{\it 不知持满,不时御神},
{\sl 务快其心,逆于生乐,起居无节,故半百而衰也}。

\stoptext
%%%%

I found that "rmtf" font is not "AdobeSongStd-Light", which is always
"LMRoman12-Regular".
However, "bf", "it" and "sl" fonts all are right.

I looked over the log file and saw some messages as following:

    fonts          : preloading latin modern fonts
    bodyfont       : 12pt rm is loaded

I want to know why I can not override the preloading rm font.

Thanks.

-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.03.30 18:28)
___________________________________________________________________________________
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:[~2009-04-05 13:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-05 13:07 Yanrui Li [this message]
2009-04-05 13:31 ` Wolfgang Schuster
2009-04-05 15:16   ` Yanrui Li
2009-04-05 19:03     ` Wolfgang Schuster
2009-04-05 20:04       ` Hans Hagen
2009-04-05 20:11         ` Wolfgang Schuster
2009-04-05 21:14           ` Hans Hagen
2009-04-05 21:22             ` Wolfgang Schuster
2009-04-05 21:25               ` Hans Hagen
2009-04-05 21:36                 ` Wolfgang Schuster
2009-04-05 23:49                   ` 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=c3f901470904050607k4829e00dn9cd82b29198a73d@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).