dvi backend does not load type 1 fonts as it should
Submitted by axe..@..il.com
Link to original bug (#746629)
Description
opening a simple file (cwebman.dvi) from my texlive tree shows that mdvi-lib loads/generates pk-fonts for showing glyphs.
Configuring evince and texlive for postscript font rendering works with this file, but not for others.
I traced the problem down into backend/dvi/mdvi-lib/fontmap.c
not parsing my psfonts.map
correctly.
The wrong cases look like
AGaramondPro-Bold-lf-t1--base AGaramondPro-Bold " AutoEnc_r4qhref7d7ussrbmo4nkqwsxhd ReEncodeFont " <[a_r4qhre.enc <AGaramondPro-Bold.pfb
where the encoding part is overwritten by the pfb filename.
I attach a simple patch that corrected the problem for me.
Patch 300111, "fix for is_encoding":
fontmap.patch
Version: 3.15.x
Edited by Germán Poo-Caamaño