LaTeX forum ⇒ XeTeXChinese font vertical write

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

Chinese font vertical write

Postby dvo » Sun Jul 23, 2017 7:51 am

I used to use xeCJK to write vetical Chinese
  1. \usepackage{fontspec}
  2. \usepackage[BoldFont,SlantFont,CheckSingle,AutoFallBack=true]{xeCJK}
  3. \usepackage{CJKnumb}

with
  1. \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?

User avatar
Johannes_B
Site Moderator
Posts: 3517
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Jul 23, 2017 7:53 am

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

Postby dvo » Tue Jul 25, 2017 8:24 am

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

Postby dvo » Tue Jul 25, 2017 1:21 pm

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.


Return to “XeTeX”

Who is online

Users browsing this forum: No registered users and 2 guests