Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16295 - [texlive-langgreek] Greek GFS fonts not properly installed on texlive 2009

Attached to Project: Arch Linux
Opened by Christos Gitsis (vega) - Monday, 21 September 2009, 01:16 GMT
Last edited by Francois Charette (Firmicus) - Friday, 25 September 2009, 13:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Francois Charette (Firmicus)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I cannot typeset a greek text in XeTeX using the Greek Font Society fonts in texlive 2009. The fonts are not found by xelatex.


Additional info:
* package versions taken from $(yaourt texlive)

2 extra/texlive-bin 2009.2-2 [installed]
TeX Live binaries
3 extra/texlive-core 2009.15216-1 [installed] (texlive-most)
TeX Live core distribution
4 extra/texlive-fontsextra 2009.14874-1 [installed] (texlive-most)
TeX Live - all sorts of extra fonts
13 extra/texlive-langgreek 2009.14873-1 [installed] (texlive-lang)
TeX Live - Fonts and support for typesetting Greek


* config and/or log files etc.
A sample input file containing some greek characters, say greekexample.tex:

\documentclass[a4paper]{article}

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xgreek}

\setmainfont[Mapping=tex-text]{GFS Didot}
%\setmainfont[Mapping=tex-text]{Liberation Serif}

\begin{document}
Παράδειγμα κειμένου
\end{document}

Steps to reproduce: $ xelatex greekexample.tex

I get error messages like: kpathsea: Invalid fontname `GFS Didot', contains ' '.
I don't think the space (' ') is the problem. If I choose the font `Liberation Serif', there are no errors.

The fonts seem to be installed on my system, e.g:
myuser /usr/share/texmf-dist/fonts/opentype/public/gfsdidot $ ls
GFSDidot.otf GFSDidotBoldItalic.otf GFSOlga.otf
GFSDidotBold.otf GFSDidotItalic.otf

I am not sure I understand how fonts work here. Perhaps the difference is that the GFS fonts are not system-wide installed fonts, but only used in texlive? For example, they do not come up if I run $ fc-list, while Liberation Serif appears there.
This task depends upon

Closed by  Francois Charette (Firmicus)
Friday, 25 September 2009, 13:41 GMT
Reason for closing:  Won't implement
Additional comments about closing:  I might provide a default /etc/fonts/texlive.conf in a later release of texlive-core, but for the time being I prefer to leave this under the control of the user. Given the info is now available in the wiki, I consider this issue solved.
Comment by Francois Charette (Firmicus) - Friday, 25 September 2009, 13:22 GMT
That's true, this situation could be improved... But:

* Not everyone wants all opentype/truetype/type1 fonts that come with TeXLive to be automatically installed system-wide.
* Some of these fonts (e.g. Libertine) are also available as Arch packages, so it would be stupid to duplicate them.

If you want to make some or all of those fonts known to fontconfig (to use with XeTeX or OpenOffice), then simply create a symlink from
/usr/share/texmf-dist/fonts/opentype/public/<some_font_you_want> to ~/.fonts/OTF/.
You might have to run fc-cache, and then mkfontscale ~/.fonts/OTF and mkfontdir ~/.fonts/OTF.
Same thing with truetype fonts: just link them to ~/.fonts/TTF

NB: Liberation appears in fc-list because it is installed with the package ttf-liberation, right?

Still, thanks for this: it reminds me to add this info to the TeXLive wiki article :)
Comment by Francois Charette (Firmicus) - Friday, 25 September 2009, 13:38 GMT

Loading...