Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380465 - dev-texlive/texlive-fontsextra-2011 - cantarell font does not work
Summary: dev-texlive/texlive-fontsextra-2011 - cantarell font does not work
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: 2011-08-24 10:29 UTC by José Romildo Malaquias
Modified: 2011-08-25 18:40 UTC (History)
1 user (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 José Romildo Malaquias 2011-08-24 10:29:54 UTC
I have texlive-fontsextra-2011 installed on my ~amd64 system, but compilation of LaTeX documents using those fonts is failing:

Example of LaTeX document:

  \documentclass{article}
  \usepackage[T1]{fontenc}
  \usepackage[default]{cantarell}

  \begin{document}

  Hello world!

  \end{document}


Reproducible: Always

Steps to Reproduce:
1. Save the document test-cantarell.tex with the contents:

  \documentclass{article}
  \usepackage[T1]{fontenc}
  \usepackage[default]{cantarell}

  \begin{document}

  Hello world!

  \end{document}

2. Compile the document with the command:

  $ pdflatex test-cantarell
Actual Results:  
Compilation fails with the messages:

$ pdflatex test-cantarell
[...]
(/usr/share/texmf-dist/tex/latex/cantarell/t1fca.fd) [1{//var/lib/texmf/fonts/m
ap/pdftex/updmap/pdftex.map}] (./test-cantarell.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 raw-t1-Cantarell-Regular
mktexpk: don't know how to create bitmap font for raw-t1-Cantarell-Regular.
mktexpk: perhaps raw-t1-Cantarell-Regular is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
 )
!pdfTeX error: pdflatex (file raw-t1-Cantarell-Regular): Font raw-t1-Cantarell-
Regular at 600 not found
 ==> Fatal error occurred, no output PDF file produced!

Expected Results:  
Compilation should have succeeded.

There are two pdftex.map files on the system:

/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map
/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map

Only the first one mentions the cantarell fonts, but pdflatex is using the second.
Comment 1 Alexis Ballier gentoo-dev 2011-08-25 14:39:56 UTC
hmmm, updmap didnt work in texlive-core-2011 < r3...

here it works, could you please run 'updmap-sys' as root and try again ?

I suppose you updated during the timeframe it was broken and kept the bad map files
Comment 2 José Romildo Malaquias 2011-08-25 18:40:33 UTC
(In reply to comment #1)
> hmmm, updmap didnt work in texlive-core-2011 < r3...
> 
> here it works, could you please run 'updmap-sys' as root and try again ?
> 
> I suppose you updated during the timeframe it was broken and kept the bad map
> files

After running updmap-sys as root the problem is gone.