diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-11-21 12:56:57 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-11-26 08:42:38 +0100 |
commit | ea9b6544654e4ac0853c35730924ed31f24ceeba (patch) | |
tree | efc6d97dea5a680cad984286df732c7955c2010a /source | |
parent | 674190060e2473593fb95bcf5924d1efdcc7129f (diff) | |
download | mupdf-ea9b6544654e4ac0853c35730924ed31f24ceeba.tar.xz |
Import URW fonts version 1.10 converted to CFF by FontForge.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-fontfile.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/source/pdf/pdf-fontfile.c b/source/pdf/pdf-fontfile.c index c9990dad..c9eb94be 100644 --- a/source/pdf/pdf-fontfile.c +++ b/source/pdf/pdf-fontfile.c @@ -36,52 +36,52 @@ unsigned char * pdf_lookup_builtin_font(char *name, unsigned int *len) { if (!strcmp("Courier", name)) { - *len = sizeof pdf_font_NimbusMonL_Regu; - return (unsigned char*) pdf_font_NimbusMonL_Regu; + *len = sizeof pdf_font_NimbusMon_Reg; + return (unsigned char*) pdf_font_NimbusMon_Reg; } if (!strcmp("Courier-Bold", name)) { - *len = sizeof pdf_font_NimbusMonL_Bold; - return (unsigned char*) pdf_font_NimbusMonL_Bold; + *len = sizeof pdf_font_NimbusMon_Bol; + return (unsigned char*) pdf_font_NimbusMon_Bol; } if (!strcmp("Courier-Oblique", name)) { - *len = sizeof pdf_font_NimbusMonL_ReguObli; - return (unsigned char*) pdf_font_NimbusMonL_ReguObli; + *len = sizeof pdf_font_NimbusMon_Obl; + return (unsigned char*) pdf_font_NimbusMon_Obl; } if (!strcmp("Courier-BoldOblique", name)) { - *len = sizeof pdf_font_NimbusMonL_BoldObli; - return (unsigned char*) pdf_font_NimbusMonL_BoldObli; + *len = sizeof pdf_font_NimbusMon_BolObl; + return (unsigned char*) pdf_font_NimbusMon_BolObl; } if (!strcmp("Helvetica", name)) { - *len = sizeof pdf_font_NimbusSanL_Regu; - return (unsigned char*) pdf_font_NimbusSanL_Regu; + *len = sizeof pdf_font_NimbusSan_Reg; + return (unsigned char*) pdf_font_NimbusSan_Reg; } if (!strcmp("Helvetica-Bold", name)) { - *len = sizeof pdf_font_NimbusSanL_Bold; - return (unsigned char*) pdf_font_NimbusSanL_Bold; + *len = sizeof pdf_font_NimbusSan_Bol; + return (unsigned char*) pdf_font_NimbusSan_Bol; } if (!strcmp("Helvetica-Oblique", name)) { - *len = sizeof pdf_font_NimbusSanL_ReguItal; - return (unsigned char*) pdf_font_NimbusSanL_ReguItal; + *len = sizeof pdf_font_NimbusSan_Ita; + return (unsigned char*) pdf_font_NimbusSan_Ita; } if (!strcmp("Helvetica-BoldOblique", name)) { - *len = sizeof pdf_font_NimbusSanL_BoldItal; - return (unsigned char*) pdf_font_NimbusSanL_BoldItal; + *len = sizeof pdf_font_NimbusSan_BolIta; + return (unsigned char*) pdf_font_NimbusSan_BolIta; } if (!strcmp("Times-Roman", name)) { - *len = sizeof pdf_font_NimbusRomNo9L_Regu; - return (unsigned char*) pdf_font_NimbusRomNo9L_Regu; + *len = sizeof pdf_font_NimbusRom_Reg; + return (unsigned char*) pdf_font_NimbusRom_Reg; } if (!strcmp("Times-Bold", name)) { - *len = sizeof pdf_font_NimbusRomNo9L_Medi; - return (unsigned char*) pdf_font_NimbusRomNo9L_Medi; + *len = sizeof pdf_font_NimbusRom_Med; + return (unsigned char*) pdf_font_NimbusRom_Med; } if (!strcmp("Times-Italic", name)) { - *len = sizeof pdf_font_NimbusRomNo9L_ReguItal; - return (unsigned char*) pdf_font_NimbusRomNo9L_ReguItal; + *len = sizeof pdf_font_NimbusRom_Ita; + return (unsigned char*) pdf_font_NimbusRom_Ita; } if (!strcmp("Times-BoldItalic", name)) { - *len = sizeof pdf_font_NimbusRomNo9L_MediItal; - return (unsigned char*) pdf_font_NimbusRomNo9L_MediItal; + *len = sizeof pdf_font_NimbusRom_MedIta; + return (unsigned char*) pdf_font_NimbusRom_MedIta; } if (!strcmp("Symbol", name)) { *len = sizeof pdf_font_StandardSymL; |