[truetype] Avoid empty source file.

* src/truetype/ttsubpix.c [!TT_CONFIG_OPTION_SUBPIXEL_HINTING]:
Provide dummy typedef.
2.6.5
Werner Lemberg 12 years ago
parent 7441dd874d
commit 6650be7c43
  1. 7
      ChangeLog
  2. 7
      src/truetype/ttsubpix.c

@ -1,3 +1,10 @@
2013-05-13 Werner Lemberg <wl@gnu.org>
[truetype] Avoid empty source file.
* src/truetype/ttsubpix.c [!TT_CONFIG_OPTION_SUBPIXEL_HINTING]:
Provide dummy typedef.
2013-05-13 Werner Lemberg <wl@gnu.org>
* src/cff/cf2font.c (cf2_getGlyphWidth): Fix uninitialized variable.

@ -1074,7 +1074,12 @@
}
}
#endif /* TT_CONFIG_OPTION_SUBPIXEL_HINTING */
#else /* !TT_CONFIG_OPTION_SUBPIXEL_HINTING */
/* ANSI C doesn't like empty source files */
typedef int _tt_subpix_dummy;
#endif /* !TT_CONFIG_OPTION_SUBPIXEL_HINTING */
/* END */

Loading…
Cancel
Save