From 1a8a092d9fefcbd7f960c82c59802c61807867a6 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 17 Jun 2016 23:28:04 +0000 Subject: Rename all files containing a : in their filename. While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight --- print/ghostscript7-x11/files/patch-src_gdevpdff.h | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 print/ghostscript7-x11/files/patch-src_gdevpdff.h (limited to 'print/ghostscript7-x11/files/patch-src_gdevpdff.h') diff --git a/print/ghostscript7-x11/files/patch-src_gdevpdff.h b/print/ghostscript7-x11/files/patch-src_gdevpdff.h new file mode 100644 index 000000000000..fe2a13e9e6bd --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src_gdevpdff.h @@ -0,0 +1,36 @@ +--- src/gdevpdff.h.orig 2003-01-17 00:49:01 UTC ++++ src/gdevpdff.h +@@ -117,6 +117,12 @@ typedef enum { + FONT_SUBSET_NO + } pdf_font_do_subset_t; + ++typedef enum { ++ FONT_EMBED_STANDARD, /* 14 standard fonts */ ++ FONT_EMBED_NO, ++ FONT_EMBED_YES ++} pdf_font_embed_t; ++ + struct pdf_font_descriptor_s { + pdf_resource_common(pdf_font_descriptor_t); + pdf_font_name_t FontName; +@@ -198,6 +204,7 @@ struct pdf_font_s { + gs_font *font; /* non-0 iff font will notify us; */ + /* should be a weak pointer */ + int index; /* in pdf_standard_fonts, -1 if not base 14 */ ++ pdf_font_embed_t embed; /* status of pdf_font_embed_status() */ + gs_matrix orig_matrix; /* FontMatrix of unscaled font for embedding */ + bool is_MM_instance; /* for Type 1/2 fonts, true iff the font */ + /* is a Multiple Master instance */ +@@ -320,12 +327,6 @@ int pdf_do_char_image(P3(gx_device_pdf * + + /* ---------------- Exported by gdevpdff.c ---------------- */ + +-typedef enum { +- FONT_EMBED_STANDARD, /* 14 standard fonts */ +- FONT_EMBED_NO, +- FONT_EMBED_YES +-} pdf_font_embed_t; +- + typedef struct pdf_standard_font_s { + const char *fname; + gs_encoding_index_t base_encoding; -- cgit v1.2.3