xelatex crashes with Ubuntu Mono and listings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Font Family |
New
|
Undecided
|
Unassigned |
Bug Description
Xelatex fails when compiling the following code:
\documentclass{
\usepackage{
\usepackage{
\setmainfont{
\setsansfont{Linux Biolinum O}
\setmonofont{Ubuntu Mono}
\usepackage{
\usepackage{
\usepackage{
\lstset{
\lstset{
\setcounter{
\setcounter{
\title{}
\author{}
\begin{document}
Some listing:
\begin{
This tool
\end{lstlisting}
\end{document}
xetex outputs the following:
"""
** WARNING ** Invalid glyph name index number: 1305 (>= 1305)
** WARNING ** Invalid version 2.0 'post' table
** ERROR ** Could not obtain necessary font info.
Output file removed.
)
Error 256 (driver return code) generating output;
file testchars.pdf may not be valid.
Transcript written on testchars.log.
"""
And no PDF is generated. For a bigger file, xelatex crashes (return code = 141) with the same printed warnings/error.
The problem occurs when Ubuntu Mono font is used *and* when listings is set with the following:
\lstset{
When this setup is removed, it compiles.
The versions used:
$ xelatex -v
XeTeX 3.1415926-
kpathsea version 5.0.0
Copyright 2009 SIL International and Jonathan Kew.
There is NO warranty. Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 3.8.1 [with modifications for XeTeX]
Compiled with zlib version 1.2.6; using 1.2.6
Compiled with FreeType2 version 2.4.8; using 2.4.8
Compiled with fontconfig version 2.8.0; using 2.8.0
Compiled with libpng version 1.2.46; using 1.2.47
Compiled with poppler version 0.16.7
Ubuntu font family version : 0.80
duplicate bug?
https:/ /bugs.launchpad .net/bugs/ 882577