Dear Wolfgang and Hans,
context normalizes font names ... so you can leave the name as it is (works here)
I checked the font name in the terminal and the result as following: MacBook:ConTeXt graph$ luatools hanbatanglvt.ttf MacBook:ConTeXt graph$ luatools hanbatanglvt.otf MacBook:ConTeXt graph$ luatools HANBatang-LVT.otf MacBook:ConTeXt graph$ luatools HANBatang-LVT.ttf /Users/graph/Library/Fonts/HANBatang-LVT.ttf Thus font call "hanbatanglvt" doesn't work in my macbook. So, I thought my system is different from Hans' which may affect to this font coloring. I am using Macbook with OSX 10.8 and here are the versions of ConTeXt and LuaTeX: mtx-context | current version: 2013.11.01 12:20 This is LuaTeX, Version beta-0.76.0-2013040508 (TeX Live 2013/dev)(rev 4627)
get other users results when they test this?
I will upload this sample file in KTUG and ask to check. As soon as I know the result of other user, I'll let you know.
Is it OK to use another Korean font?
I tested other Korean font and got the correct output except the coloring.
best discuss that with Chof cum suis as fonts need to have the right logic
Thank you. Best regards, Dalyoung
Am 02.11.2013 um 10:16 schrieb Jeong Dal
Dear Wolfgang and Hans,
context normalizes font names ... so you can leave the name as it is (works here)
I checked the font name in the terminal and the result as following:
MacBook:ConTeXt graph$ luatools hanbatanglvt.ttf
MacBook:ConTeXt graph$ luatools hanbatanglvt.otf
MacBook:ConTeXt graph$ luatools HANBatang-LVT.otf
MacBook:ConTeXt graph$ luatools HANBatang-LVT.ttf /Users/graph/Library/Fonts/HANBatang-LVT.ttf
Thus font call "hanbatanglvt" doesn't work in my macbook. So, I thought my system is different from Hans' which may affect to this font coloring.
When you use luatools to search for a file context doesn’t use the font database to resolve normalized font names, the lookup happens only when you request a font with \definefont or \definefontsynonym.
I am using Macbook with OSX 10.8 and here are the versions of ConTeXt and LuaTeX:
mtx-context | current version: 2013.11.01 12:20 This is LuaTeX, Version beta-0.76.0-2013040508 (TeX Live 2013/dev)(rev 4627)
I use a Mac as well and I have no problem with Hans example and the fonts from the link. There is a possibility that you have a older version of the fonts which is used by context instead of the files from the link, you can check which ones are used by context when you search for them in the database. Try this on the command line: mtxrun --script font --list --file hanbatang* On my system I get this output: hcrbatanglvt normal normal normal normal hcrbatanglvt /Users/wolf/Library/Fonts/HANBatang-LVT.ttf conflict: book hcrbatanglvt bold normal normal normal hcrbatanglvtbold /Users/wolf/Library/Fonts/HANBatangB-LVT.ttf Wolfgang
participants (2)
-
Jeong Dal
-
Wolfgang Schuster