Skip to content

Internal pdf viewer does not work properly with a file under xeCJK package #3558

@xiaoyuleiba

Description

@xiaoyuleiba

Environment

  • TeXstudio: 4.7.3
  • Qt: 6.6.2
  • OS: Mac
  • TeX distribution: texlive (mactex)

Expected behavior

All characters should be visible.

Actual behavior

Fullwidth numbers & letters and CJK characters under "article" and xeCJK package become invisivble in the internal pdf viewer, no matter what load strategy or render backend I choose. But it works very well with ctex package, or xeCJK package with a specify font (like IPAexMincho or FangSong_GB2312).

How to reproduce

\documentclass[12pt,a4paper]{article}
\usepackage{xeCJK}
\begin{document}
\section{test}
test\\
測、。\\%Trad. CN character & JP character sample
测,。\\%Simp. CN character sample
てすと\\%Hiragana JP character sample
テスト\\%Katagana JP character sample
시험\\%Korean character sample
1234test%Fullwidth letter sample
\end{document}

截屏2024-03-11 16 10 06 截屏2024-03-11 16 05 58 截屏2024-03-11 16 11 28 截屏2024-03-11 16 12 09

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions