ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Why can not rm or rmtf fonts be set up by \definebodyfont macro?
@ 2009-04-05 13:07 Yanrui Li
  2009-04-05 13:31 ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Yanrui Li @ 2009-04-05 13:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-04-05 23:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-05 13:07 Why can not rm or rmtf fonts be set up by \definebodyfont macro? Yanrui Li
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

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