[NTG-context] font name has a space.

Jeong Dalyoung haksan at me.com
Tue Mar 8 00:42:57 CET 2011

Dear Wolfgang,

Yes, as you said, it is working.

The current result of mtxrun is as following:

Math-iMac:~ graph$ mtxrun --script font --list --all --pattern=georgia*

georgia             georgia             /Library/Fonts/Georgia.ttf
georgiabold         georgiabold         /Library/Fonts/Georgia Bold.ttf
georgiabolditalic   georgiabolditalic   /Library/Fonts/Georgia Bold Italic.ttf
georgiaitalic       georgiaitalic       /Library/Fonts/Georgia Italic.ttf
georgianormal       georgiaitalic       /Library/Fonts/Georgia Italic.ttf

I tested another english fonts whose name containing space by removing the space in the name when I call it.
English fonts are working well.

But the same file with the korean font is not working.
As in the following log file, it loaded the fonts, but issue an error message.

ConTeXt  ver: 2011.02.25 22:03 MKIV  fmt: 2011.3.1  int: english/english

system          > cont-new.mkiv loaded
system          > beware: some patches loaded from cont-new.mkiv
system          > testmp.top loaded
fonts           > latin modern fonts are not preloaded
languages       > language en is active
fonts           > beware: no fonts are loaded yet, using 'lm mono' in box
loading         > ConTeXt Page Macros / Runtime Macros
fonts           > preloading latin modern fonts (second stage)
(/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv){/Users/graph/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/graph/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > fallback modern rm 12pt is loaded
system          > begin file testmp.tex at line 29
fonts           > otf loading > loading: /Users/graph/Library/Fonts/smHeadT Medium.otf (hash: smheadt-medium)
fonts           > otf loading > font loaded okay
fonts           > otf loading > loading method: table
fonts           > otf loading > file size: 1968816
fonts           > otf loading > start enhancing: /Users/graph/Library/Fonts/smHeadT Medium.otf
fonts           > otf loading > warning: non unicode map '', only using glyph unicode data
fonts           > encoding > loading (extended) adobe glyph list
fonts           > otf loading > stop enhancing
fonts           > otf loading > saving in cache: /Users/graph/Library/Fonts/smHeadT Medium.otf
system          > logs > lua: compiling /Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/smheadt-medium.tma into /Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/smheadt-medium.tmc
fonts           > otf loading > preprocessing and caching took 0.578 seconds
structure       > sectioning > chapter @ level 2 : 0.1 -> X
structure       > sectioning > section @ level 3 : 0.1.1 -> One
backend         > xmp > using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
pages           > flushing realpage 2, userpage 2
system          > end file testmp.tex at line 36
 )</Users/graph/Library/Fonts/smHeadT Medium.otf
!LuaTeX error (file /Users/graph/Library/Fonts/smHeadT Medium.otf): Invalid character.
 ==> Fatal error occurred, no output PDF file produced!

I think that it is the only problem in Korean fonts whose name contaings a space.

Thank you for your concern.

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110308/1d7e0e4c/attachment.html>

More information about the ntg-context mailing list