ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dalyoung <haksan@me.com>
To: ntg-context@ntg.nl
Subject: error: unable to define unbatangRegular as \*Myface12ptrmtfa*
Date: Thu, 27 May 2010 16:28:29 +0900	[thread overview]
Message-ID: <B5107D47-AC18-4497-B5B2-BCAA8EB0375D@me.com> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2010-05-27  7:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27  7:28 Jeong Dalyoung [this message]
2010-05-27  7:57 ` Taco Hoekwater
2010-05-27 14:43 dalyoung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B5107D47-AC18-4497-B5B2-BCAA8EB0375D@me.com \
    --to=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).