summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bk_paper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bk_paper.c b/bk_paper.c
index dd90256..c4aac9c 100644
--- a/bk_paper.c
+++ b/bk_paper.c
@@ -1371,6 +1371,10 @@ static font_data *make_std_font(font_list *fontlist, char const *name)
font_encoding *fe;
int i;
+ for (fe = fontlist->head; fe; fe = fe->next)
+ if (strcmp(fe->font->name, name) == 0)
+ return fe->font;
+
/* XXXKERN */
widths = ps_std_font_widths(name);
kerns = ps_std_font_kerns(name);