Dear Taco,
Thank you for your comment.
I renamed the font to ~.ttf, luatools --generate first.
And try the same file.
At this time, there is no Fatal error messages, but still it doesn't locate
the font file.
So, I tested a few more things.
Test 1:
luatools locates all the fonts which has
Am 07.03.2011 um 13:03 schrieb Jeong Dalyoung:
I tested english font which has a space in its name and got the same results.
For example, Geogia Bold.ttf font.
luatools cannot locate it and LuaTeX said unknown font. and used default
font.
I renamed it GeogiaBold.ttf in /Library/fonts
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
Dear all,
I tried define a font whose name contains a space, but not succeed.
font name: smMokPan Medium
font file name: smMokPan Medium.otf
I tired as follows, but ConTeXt couldn't locate the font file.
\definefont[testfont][name:smMokPan Medium]
\definefont[testfont][name:(smMokPan\space
On 6-3-2011 1:52, Jeong Dalyoung wrote:
Dear all,
I tried define a font whose name contains a space, but not succeed.
font name: smMokPan Medium
font file name: smMokPan Medium.otf
I tired as follows, but ConTeXt couldn't locate the font file.
\definefont[testfont][name:smMokPan Medium]
Dear Hans,
After removing space in the name, LuaTeX locates the font.
However, I couldn't get an output.
There is a fatal error message as following:
)/Users/graph/Library/Fonts/smMokPan Medium.otf
!LuaTeX error (file /Users/graph/Library/Fonts/smMokPan Medium.otf): Invalid
character.
==
On 03/07/2011 12:58 AM, Jeong Dalyoung wrote:
Dear Hans,
After removing space in the name, LuaTeX locates the font.
However, I couldn't get an output.
There is a fatal error message as following:
)/Users/graph/Library/Fonts/smMokPan Medium.otf
!LuaTeX error (file