Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 421117

Summary: app-text/dvipng USE="truetype -t1lib" produces blank PNG images
Product: Gentoo Linux Reporter: theodor
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED INVALID    
Severity: normal CC: emacs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of dvipng -v -d1 example.dvi
dvipng -v -d-1 example.dvi >dvipng.log
dvipng -v -d-1 example.dvi 2>dvipng2.log

Description theodor 2012-06-14 15:38:32 UTC
app-text/dvipng-1.14 creates only empty (white) png files. This seems to only happen when dvipng is emerged with USE="truetype -t1lib". Emerging it with USE="-truetype t1lib" produces a working dvipng.

Reproducible: Always

Steps to Reproduce:
1. Create minimal LaTeX file, e.g. echo "\documentclass[12pt]{article}\begin{document}\( E=mc^{2} \)\end{document}" >example.tex
2. latex example.tex
3. Check example.dvi to look okay.
4. dvipng example.dvi 
Actual Results:  
example1.png is empty (white) png picture.

Expected Results:  
A png image with E=mc^2 written in it.
Comment 1 Ulrich Müller gentoo-dev 2012-06-15 15:50:55 UTC
I cannot reproduce the problem. What does "dvipng -v -d1 example.dvi" output?

And please post your emerge --info.
Comment 2 theodor 2012-06-15 16:19:18 UTC
Created attachment 315427 [details]
Output of dvipng -v -d1 example.dvi
Comment 3 Ulrich Müller gentoo-dev 2012-06-15 16:29:20 UTC
Sorry, that should have read "dvipng -v -d-1" instead of "-d1". Could you please post it again?
Comment 4 theodor 2012-06-15 21:23:40 UTC
Created attachment 315455 [details]
dvipng -v -d-1 example.dvi >dvipng.log
Comment 5 theodor 2012-06-15 21:32:04 UTC
Created attachment 315461 [details]
dvipng -v -d-1 example.dvi 2>dvipng2.log
Comment 6 theodor 2012-06-15 21:32:46 UTC
No problem, thanks for looking into it.
Comment 7 theodor 2012-06-15 21:45:00 UTC
Re-installed freetype and now it works. I am really sorry for the noise.