ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem using the new buildin simplefont \definefontfamily with OTF fonts
@ 2014-03-07 13:35 罗晨星
  2014-03-09 22:12 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: 罗晨星 @ 2014-03-07 13:35 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

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

end of thread, other threads:[~2014-03-10  5:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 13:35 Problem using the new buildin simplefont \definefontfamily with OTF fonts 罗晨星
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           ` 罗晨星

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