Menu

#2168 Broken font display in windows

None
fixed
nobody
None
5*
2017-06-05
2017-05-21
Anonymous
No

The win32 release of TeXstudio is distributed with elder freetype.
It lakes of Adobe's CFF support.
While using buildin Chinese font "標楷體", the buildin pdf viewer renders it incorrectly.

As I replacing the buildin freetype6.dll with newer release, it renders correctly.

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2017-05-27

    Please provide a minimal .tex file so that we can test this.

     
  • peq47305

    peq47305 - 2017-06-01

    Use Windows built in font "標楷體", and Compile with xelatex.

    \documentclass[12pt,a4paper]{article}
    \usepackage{xeCJK}
    \setCJKmainfont{標楷體}
    \begin{document}
        我能吞下玻璃而不傷身體
    \end{document}
    
     
  • Tim Hoffmann

    Tim Hoffmann - 2017-06-03

    The example does not work for me.

    2017-06-03 19:33:29,595+0200 FATAL xelatex - The font file could not be found.
    2017-06-03 19:33:29,595+0200 FATAL xelatex - Info: fileName="標楷體/OT"
    2017-06-03 19:33:29,595+0200 FATAL xelatex - Source: Libraries\MiKTeX\TeXAndFriends\texmflib.cpp
    2017-06-03 19:33:29,595+0200 FATAL xelatex - Line: 57
    

    Is this font only available on chinese systems?

     
  • peq47305

    peq47305 - 2017-06-05

    How about

    \documentclass[12pt,a4paper]{article}
    \usepackage{xeCJK}
    \setCJKmainfont{DFKai-SB}
    \begin{document}
        我能吞下玻璃而不傷身體
    \end{document}
    

    I chang its name to English one.
    This only works on Windows.

    If it still doesn't work.
    Try this repo: https://github.com/wengan-li/ncku-thesis-template-latex.git
    It packs 標楷體 for non-Windows user.

     
  • peq47305

    peq47305 - 2017-06-05

    Because of historical reason, 標楷體 is a composing font.

    Composing font is heavily depend on Adobe's proprietary technology.
    The image is form http://www.dynacw.com.tw/business/embedded_digitype.aspx

     
  • Tim Hoffmann

    Tim Hoffmann - 2017-06-05
    • status: open --> fixed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB