* error: unable to define unbatangRegular as \*Myface12ptrmtfa*
@ 2010-05-27 7:28 Jeong Dalyoung
2010-05-27 7:57 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Jeong Dalyoung @ 2010-05-27 7:28 UTC (permalink / raw)
To: ntg-context
Dear all,
Today, I updated ConTeXt Minimal using first-setup.sh in my Mac.
I compiled a file which was compiled well before update.
But I got a strange result in the output.
All english sentences are shown well except korean sentences. In the log file,
...
systems : end file myBstyle at line 4
(/Users/graph/ConTeXtMini/tex/texmf-local/tex/context/type-kor.tex)
!define font : font with name unbatangRegular is not found
!define font : unknown font unbatangRegular, loading aborted
!define font : unable to define unbatangRegular as \*Myface12ptrmtf*
systems : begin file geo-euclid at line 11
(/Users/graph/Documents/Mathematics/geometry/geo-euclid.tex
structure : chapter @ level 2 : 0.1 -> Euclidean Geoemtry
!define font : font with name unbatangRegular is not found
!define font : unknown font unbatangRegular, loading aborted
!define font : unable to define unbatangRegular as \*Myface12ptrmtfc*
!define font : font with name unbatangRegular is not found
...
There is no change in the typescript file and the location of the fonts.
Here is a part of typescript file "type-kor" defining unbatangRegular;
% unfonts batang
\starttypescript[serif][unbatang][uc]
% Regular variant:
\definefontsynonym[unbatangRegular][file:UnBatang.ttf][encoding=uc]
\definefontsynonym[unbatangBold][file:UnBatangBold.ttf][encoding=uc]
\definefontsynonym[unbatangItalic][file:UnGraphic.ttf][encoding=uc]
\definefontsynonym[unbatangBoldItalic][file:UnGraphicBold.ttf] [encoding=uc]
\stoptypescript
% mid-level names:
\starttypescript[serif][unbatang][name]
\definefontsynonym[Serif][unbatangRegular]
\definefontsynonym[SerifBold][unbatangBold]
\definefontsynonym[SerifItalic][unbatangItalic]
\definefontsynonym[SerifBoldItalic][unbatangBoldItalic]
% The fallbacks
\definefontsynonym[SerifSlanted][Serif]
\definefontsynonym[SerifBoldSlanted][SerifBold]
\definefontsynonym[SerifCaps][Serif]
\stoptypescript
...
More interesting thing is that korean defined as bold face is shown. So I change the whole text as bold using {\bf whole text (english + korean)}, then every sentences is clearly shown in bold face. I checked "luatools UnBatang.ttf" which is defined as "unbatangregular", it locates where it is.
ConTeXtMini graph$ luatools UnBatang.ttf
/Users/graph/Library/Fonts/UnBatang.ttf
Both current version and "ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.5.27 int: english/english" version work same.
Why isn't it able to define "unbatangRegular" while it can use the "unbatangBold"?
I am using Mac, ConTeXtMinimal.
Thank you.
Best regards,
Dalyoung
___________________________________________________________________________________
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] 3+ messages in thread
* Re: error: unable to define unbatangRegular as \*Myface12ptrmtfa*
2010-05-27 7:28 error: unable to define unbatangRegular as \*Myface12ptrmtfa* Jeong Dalyoung
@ 2010-05-27 7:57 ` Taco Hoekwater
0 siblings, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2010-05-27 7:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Jeong Dalyoung wrote:
>
> Both current version and "ConTeXt ver: 2010.05.24 13:05 MKIV fmt:
> 2010.5.27 int: english/english" version work same.
>
> Why isn't it able to define "unbatangRegular" while it can use the
> "unbatangBold"?
Drop the [uc] and '[encoding=uc]' from your typescript:
\starttypescript[serif][unbatang]
\definefontsynonym[unbatangRegular][file:UnBatang.ttf]
\definefontsynonym[unbatangBold][file:UnBatangBold.ttf]
\definefontsynonym[unbatangItalic][file:UnGraphic.ttf]
\definefontsynonym[unbatangBoldItalic][file:UnGraphicBold.ttf]
\stoptypescript
Explanation: The extra encoding arguments you had meant that mkiv
did not actually interpret that block of code. As a result, it
only saw
\definefontsynonym[Serif][unbatangRegular]
and that is interpreted as 'name:unbatangRegular', which is a
non-existing font name. unbatangBold worked ok because name:unbatangBold
actually *is* a valid font name.
Best wishes,
Taco
___________________________________________________________________________________
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] 3+ messages in thread
* Re: error: unable to define unbatangRegular as \*Myface12ptrmtfa*
@ 2010-05-27 14:43 dalyoung
0 siblings, 0 replies; 3+ messages in thread
From: dalyoung @ 2010-05-27 14:43 UTC (permalink / raw)
To: ntg-context
Dear Taco,
Thank you advice.
After deleting [uc] and [encoding=uc], it worked fine.
Every sentences was appeared correctly.
Best regards,
Dalyoung
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2010-05-27 14:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-27 7:28 error: unable to define unbatangRegular as \*Myface12ptrmtfa* Jeong Dalyoung
2010-05-27 7:57 ` Taco Hoekwater
2010-05-27 14:43 dalyoung
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).