XeTeXChinese font vertical write

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
dvo
Posts: 3
Joined: Sun Jul 23, 2017 7:44 am

Chinese font vertical write

Post by dvo »

I used to use xeCJK to write vetical Chinese

Code: Select all

\usepackage{fontspec}
\usepackage[BoldFont,SlantFont,CheckSingle,AutoFallBack=true]{xeCJK}
\usepackage{CJKnumb}
with

Code: Select all

\setCJKfamilyfont{WSL}[Vertical=RotatedGlyphs,BoldFont=DFT_TX3.TTC]{WSL_Kai_TPS.ttf}
But after some update of the packages my Chinese rotation become invalid.
Anyone know what happened?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Chinese font vertical write

Post by Johannes_B »

Welcome, no unfortunately i don't know what happened. Can you provide a very small example that compiles and has just one line of text but reproduces the problem? Can you append the log file with that example to your forum post?
Does it work with a different font?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
dvo
Posts: 3
Joined: Sun Jul 23, 2017 7:44 am

Chinese font vertical write

Post by dvo »

The problem happened only for CJK (Chinese Japanese Korean) user because only they have vertical writing v.s. horizontal writing....for vertical writing we need to rotate the font and everything goes the same as horizontal writing.....the rotation is provided automatically by the font specification....
dvo
Posts: 3
Joined: Sun Jul 23, 2017 7:44 am

Chinese font vertical write

Post by dvo »

Here is an example

\documentclass{article}
\usepackage{fontspec}
\usepackage[BoldFont,SlantFont,CheckSingle,AutoFallBack=true]{xeCJK}
\usepackage{CJKnumb}
\setCJKmainfont[Vertical=RotatedGlyphs,BoldFont=MINGLIU.TTC]{HANAMINA.TTF}


\begin{document}

舉例

\end{document}

The text came out horizontal instead of vertical.
Post Reply