GNOME Bugzilla – Bug 746629
dvi backend does not load type 1 fonts as it should
Last modified: 2018-05-22 16:11:34 UTC
Created attachment 300111 [details] [review] fix for is_encoding 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.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/582.