Texstudio: Font problem in embedded previewer

Created on 26 May 2018  路  7Comments  路  Source: texstudio-org/texstudio

Environment

  • TeXstudio: 2.12.8
  • Qt: N/A
  • OS: Mac
  • TeX distribution: MacTeX Basic

Expected behavior

After necessary component, such as "Fandol", and "xeCJK" included, compile with XeTeX successful.
But the Chinese Character not display in Preview window. But if I open it external, these display normal.

So I think this is caused by font, I searched "Fandol" in Font Book but got nothing.

Most helpful comment

I also encountered the same problem in my environment, and I think the cause of this problem may be in /Applications/texstudio.app/Contents/Frameworks/libpoppler.68.dylib .

$ strings -a /Applications/texstudio.app/Contents/Frameworks/libpoppler.68.dylib | grep poppler
/usr/local/Cellar/poppler/0.57.0-texworks/share/poppler/ColorProfiles/
/usr/local/Cellar/poppler/0.57.0-texworks/share/poppler
%Produced by poppler pdftops version: {0:s} (http://poppler.freedesktop.org)

, but my poppler path is /usr/local/Cellar/poppler/0.65.0 .

I do not think it is the best way, but I solved this problem as follows.

brew install --upgrade poppler
mkdir -p /usr/local/Cellar/poppler/0.57.0-texworks/share
ln -s /usr/local/Cellar/poppler/0.65.0/share/poppler /usr/local/Cellar/poppler/0.57.0-texworks/share/poppler

My environment is as follows.

MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
macOS High Sierra 10.13.4

I hope this will help!

All 7 comments

screen shot 2018-05-26 at 20 55 38

please provide the files (tex&pdf)
You might want to try a development build, see https://bintray.com/sunderme/texstudio/texstudio-osx#files

\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{xeCJK}
\title{\LaTeX 涓枃娴嬭瘯}
\author{FukoMaster}
\begin{document}
    \maketitle
\end{document}

texstudio_UvuuSC.pdf

This doesn't work.
Besides, I'm using i7-7700K, is that an old CPU ..?

I also encountered the same problem in my environment, and I think the cause of this problem may be in /Applications/texstudio.app/Contents/Frameworks/libpoppler.68.dylib .

$ strings -a /Applications/texstudio.app/Contents/Frameworks/libpoppler.68.dylib | grep poppler
/usr/local/Cellar/poppler/0.57.0-texworks/share/poppler/ColorProfiles/
/usr/local/Cellar/poppler/0.57.0-texworks/share/poppler
%Produced by poppler pdftops version: {0:s} (http://poppler.freedesktop.org)

, but my poppler path is /usr/local/Cellar/poppler/0.65.0 .

I do not think it is the best way, but I solved this problem as follows.

brew install --upgrade poppler
mkdir -p /usr/local/Cellar/poppler/0.57.0-texworks/share
ln -s /usr/local/Cellar/poppler/0.65.0/share/poppler /usr/local/Cellar/poppler/0.57.0-texworks/share/poppler

My environment is as follows.

MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
macOS High Sierra 10.13.4

I hope this will help!

I also encountered the same problem in my environment, and I think the cause of this problem may be in /Applications/texstudio.app/Contents/Frameworks/libpoppler.68.dylib .

$ strings -a /Applications/texstudio.app/Contents/Frameworks/libpoppler.68.dylib | grep poppler
/usr/local/Cellar/poppler/0.57.0-texworks/share/poppler/ColorProfiles/
/usr/local/Cellar/poppler/0.57.0-texworks/share/poppler
%Produced by poppler pdftops version: {0:s} (http://poppler.freedesktop.org)

, but my poppler path is /usr/local/Cellar/poppler/0.65.0 .

I do not think it is the best way, but I solved this problem as follows.

brew install --upgrade poppler
mkdir -p /usr/local/Cellar/poppler/0.57.0-texworks/share
ln -s /usr/local/Cellar/poppler/0.65.0/share/poppler /usr/local/Cellar/poppler/0.57.0-texworks/share/poppler

My environment is as follows.

MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
macOS High Sierra 10.13.4

I hope this will help!

It works !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeanlucthumm picture jeanlucthumm  路  3Comments

muzimuzhi picture muzimuzhi  路  10Comments

melsophos picture melsophos  路  5Comments

erich666 picture erich666  路  7Comments

kendonB picture kendonB  路  10Comments