From: 罗晨星 <chenxing.luo@gmail.com>
To: ntg-context@ntg.nl
Subject: Problem using the new buildin simplefont \definefontfamily with OTF fonts
Date: Fri, 7 Mar 2014 21:35:10 +0800 [thread overview]
Message-ID: <CALFqtq_t+SFahJ=Ud54C0w7EZpDKvvmnT9crrWTdVQNY_N2W7A@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3082 bytes --]
I am using Ubuntu 13.10 with ConTeXt daily build and LuaTeX daily build. My
ConTeXt version is 2014.02.14 17:07, LuaTeX version beta-0.78.3 (TeX Live
2014/dev/Debian) (rev 4850) .
While there are some problems with using the newly added feature of
build-in support of simplefonts.
I was using something like
\definefontfamily[mainface][serif][Kepler]
\setupbodyfont[mainface]
\starttext
Hello World!
\stoptext
It would end up with using Latin Modern font.
The log is like this:
system > 'cont-new.mkiv' loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv)
system > files > jobname '003', input './003', result '003'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
(/home/alan/tex/test/003.tex
fonts > preloading latin modern fonts (math)
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fonts > 'fallback modern mm 12pt' is loaded
fonts > preloading latin modern fonts (mono)
fonts > 'fallback modern tt 12pt' is loaded
fonts > defining > font with asked name 'unknown' is not found using lookup
'file'
fonts > defining > unknown font 'unknown', loading aborted
fonts > defining > unable to define 'unknown' as 'mainface-12pt-rm-tf-0--0'
backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
However, when I use something like Times New Roman (TTF), Utopia (TTF),
Georgia(TTF), FZShuSong-Z01 (TTF Chinese font) it would be working all
right, fonts applied, no error reported.
But like in the example, Kepler (OTF), Minion Pro (OTF), Utopia Std (OTF)
would failed to be applied. It is as if it would fail every OTF font.
When I am using some font in the legacy simplefonts module mode, something
like:
\usemodule[simplefonts]
\setmainfont[Kepler]
\starttext
Hello World!
\stoptext
Would be working alright. Logged as below:
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
(/home/alan/tex/test/003.tex
resolvers > modules > 'simplefonts' is loaded
(/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.mkiv
loading > ConTeXt User Module / Simplefonts
<+
/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua>){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
) )</home/alan/.fonts/KeplerStd-Subh.otf>
So what's the problem? Is there anything I should look into?
If it is a problem with TeXLive how can I use the ConTeXt Standalone
without conflict with the previous installed TeXLive (Since I am also using
LaTeX) ?
Regards.
南京大学 现代工程与应用科学学院 2013级
罗晨星
Luo Chenxing
—————————————
chenxing.luo@gmail.com
[-- Attachment #1.2: Type: text/html, Size: 5376 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2014-03-07 13:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 13:35 罗晨星 [this message]
2014-03-09 22:12 ` Wolfgang Schuster
2014-03-10 0:37 ` 罗晨星
[not found] ` <7B38362A-A4D8-4C06-A944-526A0FC3814C@gmail.com>
[not found] ` <42260D8D-8952-4352-B555-408E7E2DA841@gmail.com>
2014-03-10 5:02 ` 罗晨星
2014-03-10 5:03 ` 罗晨星
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='CALFqtq_t+SFahJ=Ud54C0w7EZpDKvvmnT9crrWTdVQNY_N2W7A@mail.gmail.com' \
--to=chenxing.luo@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).