[XeTeX] Opentype fonts with vrt2 + linux

Wilfred van Rooijen wvanrooijen at yahoo.com
Sun Jan 13 01:11:12 CET 2008


Hello,

So we can conclude from Arthur's and JK's response
that ICU is supposed to work, but it doesn't always. I
added JK's suggestions (Script=CJK, removed 'R' from
font name) but the result is exactly the same.

Some details:

rooijen at love206a-rooijen ~/Xelatex/Japanese $ fc-list
| grep Koz
Kozuka Mincho Pro\-VI,小塚明朝
Pro\-VI,Kozuka Mincho Pro\-VI
R,小塚明朝 Pro\-VI
R:style=R,Regular
Kozuka Gothic
Pro,小塚ゴシック
Pro,Kozuka Gothic Pro
M,小塚ゴシック Pro
M:style=M,Regular

The log file shows no warnings whatsoever,
unfortunately. To be sure:

rooijen at love206a-rooijen ~/Xelatex/Japanese $ xelatex
-version
XeTeX 3.141592-0.996 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 SIL International.
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software
is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Kpathsea written by Karl Berry, Olaf Weber, and
others.

Compiled with ICU version 3.4 [with modifications for
XeTeX]
Compiled with zlib version 1.2.3; using 1.2.3
Compiled with FreeType2 version 2.2.1; using 2.2.1
Compiled with fontconfig version 2.2.1; using 2.4.2
Compiled with libpng version 1.2.15; using 1.2.15
Compiled with xpdf version 3.01

BTW in the article I have also included some cuneiform
(Code2001 font), Klingon and Tengwar (Code2000 font)
to show what XeTeX can do. I think it's pretty
impressive. 

Wilfred

--- Jonathan Kew <jonathan_kew at sil.org> wrote:

> On 12 Jan 2008, at 9:44 pm, Wilfred van Rooijen
> wrote:
> 
> > Hi all,
> >
> > Well, I've tried the rotating glyph with the
> kozuka
> > font. This is the input file:
> >
> > \documentclass[]{article}
> > \usepackage{fontspec}
> > \usepackage{xunicode}
> > \usepackage{xltxtra}
> > \usepackage{graphicx}
> >
> > \begin{document}
> >
> > \fontspec[Mapping=tex-text]{Kozuka Mincho Pro-VI
> R}
> >
> > This is English.
> >
>
&#12371;&#12428;&#12399;&#26085;&#26412;&#35486;&#12391;&#12377;&#1229;
> 
> > 0;
> >
> >
> >
>
\fontspec[Mapping=tex-text,Vertical=RotatedGlyphs]{Kozuka
> > Mincho Pro-VI R}
> >
> > \rotatebox{-90}{This is English.
> >
>
&#12371;&#12428;&#12399;&#26085;&#26412;&#35486;&#12391;&#12377;&#1229;
> 
> > 0;
> > }
> >
> > \end{document}
> >
> > I have attached the PDF file I get. It doesn't
> look
> > like I expected. Does this trick really only work
> with
> > AAT, not ICU?
> >
> 
> It's supposed to be able to work with ICU as well,
> though it is  
> dependent on various font metrics actually being
> present....
> 
> I tried your sample, and noticed two things:
> 
> (1) It is necessary to give the [Script=CJK] option
> to fontspec, to  
> activate the OpenType features for the CJK (Han)
> script.
> 
> (2) The version of this font that I have is called
> "Kozuka Mincho Pro- 
> VI" (no "R" on the end). With this, the vertical
> seems to behave OK.  
> I don't know what's different about the "R"
> version...
> 
> JK
> 
> 
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the XeTeX mailing list