Skip to content

Instantly share code, notes, and snippets.

@7shi
Created March 1, 2010 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 7shi/318300 to your computer and use it in GitHub Desktop.
Save 7shi/318300 to your computer and use it in GitHub Desktop.
GdiumでldがGOTエラーになるので小手先の修正
--- filter/texttops.c.orig Tue Mar 2 05:10:03 2010
+++ filter/texttops.c Tue Mar 2 05:30:35 2010
@@ -33,16 +33,16 @@
/*
- * Globals...
+ * Locals...
*/
-char *Glyphs[65536]; /* PostScript glyphs for Unicode */
-int NumFonts; /* Number of fonts to use */
-char *Fonts[256][4]; /* Fonts to use */
-unsigned short Chars[65536]; /* 0xffcc (ff = font, cc = char) */
-unsigned short Codes[65536]; /* Unicode glyph mapping to fonts */
-int Widths[256]; /* Widths of each font */
-int Directions[256];/* Text directions for each font */
+static char *Glyphs[65536]; /* PostScript glyphs for Unicode */
+static int NumFonts; /* Number of fonts to use */
+static char *Fonts[256][4]; /* Fonts to use */
+static unsigned short Chars[65536]; /* 0xffcc (ff = font, cc = char) */
+static unsigned short Codes[65536]; /* Unicode glyph mapping to fonts */
+static int Widths[256]; /* Widths of each font */
+static int Directions[256];/* Text directions for each font */
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment