[XeTeX] CJK & fontspec

Will Robertson wspr81 at gmail.com
Mon Mar 17 17:10:18 CET 2008


On 18/03/2008, at 2:28 AM, Wilfred van Rooijen wrote:

> Yes, I experienced some issues with the vertical
> typesetting of Japanese using the
> 'Vertical=RotatedGlyphs' option (which didn't work).

Here's an example that works for me:

\documentclass{article}
\usepackage{fontspec,graphicx}
\begin{document}
\centering\fontspec{Hiragino Mincho Pro}
共産主義者は\par
\addfontfeature{Vertical=RotatedGlyphs}
\rotatebox{-90}{共産主義者は}
\end{document}

When the ICU renderer (i.e., xdvipdfmx) both the "vertical" and  
"+vrt2" features are applied.

Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080318/012d7705/attachment.bin 


More information about the XeTeX mailing list