[XeTeX] Is context working in XeTeX?-Korean font test

Adam Lindsay atl at comp.lancs.ac.uk
Sat Dec 4 12:08:50 CET 2004

Dalyoung said this at Sat, 4 Dec 2004 19:41:49 +0900:

>Here is the source file. I used " ' ".
>I'll look into the type-xtx and the url.

I suggest testing without the ": mapping=tex=text" in the type specs, to
begin with. It's there for the convenience of Roman fonts. 

>I tested for AppleMyungjo Regular font which is one of the default 
>korean fonts, but there is an error - lots of [] was produced.

Ah, the Overfull box bug again. ConTeXt doesn't know where to break your
lines, so it runs into a feature interaction. I generally shrink the font
size when that happens.

So, I looked at your text, and concluded that the font is doing what it
thinks is right! These Unicode fonts interpret left & right quotes as
quotes only, and not apostrophes. The extra spacing is included in the glyph.

Conclusion: don't use "mapping=tex-text" in non-roman fonts. Don't use
rightquote as an apostrophe! 

(This is a surprise to me, as well. Perhaps the fonts are designed this
way to accommodate vertical layout? I don't know.)

A ConTeXt test file follows.



\definedfont["AppleGothic Regular" at 14pt]


  \XeTeX 에서 \ConTeXt 를 시험중입니다.

  멋있지 않습니까?

  Hello, everyone!

  I'm testing \ConTeXt\  in \XeTeX\  environment.

  Isn't it cool?


 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492

More information about the XeTeX mailing list