From: Aleksey Kliger <akliger@gmail.com> Date: Mon, 9 May 2005 10:31:38 +0000 (+0000) Subject: Fix infinite loop when loading Type1 fonts X-Git-Tag: EVINCE_0_3_1~56 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=525205819a52cbca4388175bf7e3973a9a3d7d6e;p=evince.git Fix infinite loop when loading Type1 fonts 2005-05-09 Aleksey Kliger <akliger@gmail.com> * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics): Fix infinite loop when loading Type1 fonts --- diff --git a/ChangeLog b/ChangeLog index 8b4f96bf..3f37363a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-09 Aleksey Kliger <akliger@gmail.com> + + * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics): + + Fix infinite loop when loading Type1 fonts + 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: diff --git a/dvi/mdvi-lib/tfmfile.c b/dvi/mdvi-lib/tfmfile.c index 45b78506..913cd0e7 100644 --- a/dvi/mdvi-lib/tfmfile.c +++ b/dvi/mdvi-lib/tfmfile.c @@ -601,6 +601,7 @@ char *lookup_font_metrics(const char *name, int *type) #endif case DviFontTFM: file = kpse_find_tfm(name); + *type = DviFontTFM; break; case DviFontOFM: { file = kpse_find_ofm(name);