From 525205819a52cbca4388175bf7e3973a9a3d7d6e Mon Sep 17 00:00:00 2001 From: Aleksey Kliger Date: Mon, 9 May 2005 10:31:38 +0000 Subject: [PATCH] Fix infinite loop when loading Type1 fonts 2005-05-09 Aleksey Kliger * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics): Fix infinite loop when loading Type1 fonts --- ChangeLog | 6 ++++++ dvi/mdvi-lib/tfmfile.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8b4f96bf..3f37363a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-09 Aleksey Kliger + + * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics): + + Fix infinite loop when loading Type1 fonts + 2005-05-09 Marco Pesenti Gritti * 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); -- 2.43.5