how to handle the fonts whose name contains a blank space?
![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
Dear all, Sometime ago, I asked the same question and got replies. However, I couldn't make it work and I didn't try since then. Now, I am asking the same question again with a hope. I have several Korean fonts whose name contains a blank space. For example, in KoPubBatang_Pro family, there are 3 fonts: KoPubBatang_Pro Light (font file name is "KoPubBatang_Pro Light.otf") KoPubBatang_Pro Medium (font file name is "KoPubBatang_Pro Medium.otf") KoPubBatang_Pro Bold (font file name is "KoPubBatang_Pro Bold.otf") You can download the fonts from here: http://www.mcst.go.kr/web/notifyCourt/notice/mctNoticeView.jsp?pSeq=6870 Here is a sample code: \definefont[test][KoPubBatang_Pro Light.otf] \starttext \test This is a test for KoPubBatang font. 한글이 잘 써지는지 봅시다. \stoptext But I got the following messages in the log file. fonts > defining > font with asked name 'KoPubBatang_Pro' is not found using lookup 'file' fonts > defining > unknown font KoPubBatang_Pro, loading aborted fonts > defining > unable to define KoPubBatang_Pro as \**sangsang** backend > xmp > using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 ) Is there any hints for this? Thanks for reading and Happy New Year! Dalyoung
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 30.12.2011 um 02:52 schrieb dalyoung:
Dear all,
Sometime ago, I asked the same question and got replies. However, I couldn't make it work and I didn't try since then.
Now, I am asking the same question again with a hope.
I have several Korean fonts whose name contains a blank space.
For example, in KoPubBatang_Pro family, there are 3 fonts: KoPubBatang_Pro Light (font file name is "KoPubBatang_Pro Light.otf") KoPubBatang_Pro Medium (font file name is "KoPubBatang_Pro Medium.otf") KoPubBatang_Pro Bold (font file name is "KoPubBatang_Pro Bold.otf")
You can download the fonts from here: http://www.mcst.go.kr/web/notifyCourt/notice/mctNoticeView.jsp?pSeq=6870
Here is a sample code:
\definefont[test][KoPubBatang_Pro Light.otf]
Remove the space: \definefont[test][file:kopubbatangprolight*default] Wolfgang
participants (2)
-
dalyoung
-
Wolfgang Schuster