1 --- texlive-20080816-source/texk/ttf2pk/pklib.c.orig 2020-10-01 21:54:57.655974958 +0200
2 +++ texlive-20080816-source/texk/ttf2pk/pklib.c 2020-10-02 15:47:49.597242228 +0200
4 #define PK_POST (char)245
5 #define PK_NOP (char)246
13 * Information from the .tfm file.
17 +static int tfm_lengths[12];
19 #define lh tfm_lengths[1]
20 #define bc tfm_lengths[2]
21 #define ec tfm_lengths[3]
22 #define nw tfm_lengths[4]
26 -byte width_index[256];
27 -long tfm_widths[256];
28 +static long checksum;
30 +static byte width_index[256];
31 +static long tfm_widths[256];
34 * Information on the bitmap currently being worked on.
53 +static int bytes_wide;
54 +static size_t bm_size;
55 +static byte *bitmap_end;
59 * Here's the path searching stuff. First the typedefs and variables.
60 --- texlive-20080816-source/texk/ttf2pk/ttflib.c.orig 2020-10-01 21:54:57.659308273 +0200
61 +++ texlive-20080816-source/texk/ttf2pk/ttflib.c 2020-10-02 15:49:35.973332606 +0200
63 #define FEATURE_vert MAKE_TT_TAG('v', 'e', 'r', 't')
68 -TT_Instance instance;
71 +static TT_Engine engine;
73 +static TT_Instance instance;
74 +static TT_Glyph glyph;
75 +static TT_CharMap char_map;
78 -TT_Face_Properties properties;
80 +static TT_Outline outline;
81 +static TT_Face_Properties properties;
87 -TT_Raster_Map Bit, Bit2;
89 +static TT_Raster_Map Bit, Bit2;
90 +static void *Bitp, *Bit2p;
97 -int x_offset, y_offset;
99 +static int x_offset, y_offset;
102 -TT_Big_Glyph_Metrics metrics;
103 +static TT_Big_Glyph_Metrics metrics;
105 -TT_Matrix matrix1, matrix2;
106 +static TT_Matrix matrix1, matrix2;
108 -TTO_GSUBHeader gsub_;
109 -TTO_GSUBHeader *gsub;
110 +static TTO_GSUBHeader gsub_;
111 +static TTO_GSUBHeader *gsub;
113 -TT_UShort in_string[2];
114 -TTO_GSUB_String in, out;
115 +static TT_UShort in_string[2];
116 +static TTO_GSUB_String in, out;
119 +static Boolean has_gsub;