Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652680 - dev-texlive/texlive-xetex-{2016,2017}: remove type1 fonts from fontconfig file 09-texlive.conf
Summary: dev-texlive/texlive-xetex-{2016,2017}: remove type1 fonts from fontconfig fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-06 13:21 UTC by Robert Spillner
Modified: 2019-08-05 08:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Spillner 2018-04-06 13:21:08 UTC
Having the line 

  <dir>/usr/share/texmf-dist/fonts/type1</dir>

in /etc/fonts.avail/09-texlive.conf makes type1-fonts available via fontconfig. Yet this doesn't work well with XeTeX.
E.g., having

\setmainfont{Droid Serif}

and typing accented characters (like German umlauts üöä) won't compile via xelatex with the following error in the log-file:

  xdvipdfmx:fatal: This font using the "seac" command for accented characters...

  Output file removed.
   )
  Error 256 (driver return code) generating output;
  file XXX.pdf may not be valid.

This works when I use a truetype or opentype version of the font after I remove (or comment out) the cited line from above and regenerate the font cache.

This is a known problem (https://sourceforge.net/p/xetex/bugs/131/). Texlive developer Akira Kakuto recommends to hide type1 fonts from fontconfig. Please consider to change the mentioned configuration file accordingly.
Comment 1 Larry the Git Cow gentoo-dev 2019-08-05 08:26:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb518b16595646319f74afec499530b6cf13506

commit ffb518b16595646319f74afec499530b6cf13506
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-08-05 08:25:23 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-08-05 08:26:02 +0000

    dev-texlive/texlive-xetex: Drop type1 font from fontconfig
    
    Closes: https://bugs.gentoo.org/652680
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 dev-texlive/texlive-xetex/files/09-texlive.conf | 1 -
 1 file changed, 1 deletion(-)