summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2011-12-06 15:46:44 +0000
committerRobin Watts <robin.watts@artifex.com>2011-12-06 15:46:44 +0000
commit1fab71137fb79df949ff8d4ad145f5f3d18becad (patch)
tree2e5a840ecc44456230affe0cb3edbbc368120ab9 /pdf
parent51ea850c2f8464a7245268af3d496141b513d6ba (diff)
downloadmupdf-1fab71137fb79df949ff8d4ad145f5f3d18becad.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.c8
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;