diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-06 15:46:44 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-06 15:49:53 +0000 |
commit | 841533481464ea4cad3dcb8c6dd636c5d455e6eb (patch) | |
tree | a52347967d3cc4f3128c8bb5dd994df1c30419b3 /pdf | |
parent | 6e14149d3e915f559f99276a525862e28d6f0478 (diff) | |
download | mupdf-841533481464ea4cad3dcb8c6dd636c5d455e6eb.tar.xz |
Remove dead (duplicated) code from pdf_fontfile.c
2 if clauses were (harmlessly) duplicated in pdf_find_builtin_font,
probably due to an automated code merge (or other cut/paste error).
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdf_fontfile.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pdf/pdf_fontfile.c b/pdf/pdf_fontfile.c index fb85bee4..543ce763 100644 --- a/pdf/pdf_fontfile.c +++ b/pdf/pdf_fontfile.c @@ -26,14 +26,6 @@ pdf_find_builtin_font(char *name, unsigned int *len) *len = sizeof pdf_font_NimbusMonL_Bold; return (unsigned char*) pdf_font_NimbusMonL_Bold; } - if (!strcmp("Courier", name)) { - *len = sizeof pdf_font_NimbusMonL_Regu; - return (unsigned char*) pdf_font_NimbusMonL_Regu; - } - if (!strcmp("Courier-Bold", name)) { - *len = sizeof pdf_font_NimbusMonL_Bold; - return (unsigned char*) pdf_font_NimbusMonL_Bold; - } if (!strcmp("Courier-Oblique", name)) { *len = sizeof pdf_font_NimbusMonL_ReguObli; return (unsigned char*) pdf_font_NimbusMonL_ReguObli; |