summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-08-20 22:02:14 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-08-20 22:02:14 +0000
commitcd3238a63b904fd0792ca04f1dac7ff04ef98eb4 (patch)
tree20e3507658937baaf610ef3a48bac98439672255 /pango/pangowin32-private.h
parent1c7f0ddea0ef2f9471a1dd87cebee30443524bd6 (diff)
downloadpango-cd3238a63b904fd0792ca04f1dac7ff04ef98eb4.tar.gz
Handle also ft_pixel_mode_mono glyphs.
2000-08-21 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.c (pango_ft2_render): Handle also ft_pixel_mode_mono glyphs. * pango/pangoft2*: Portability enhancements (non-gcc). * examples/viewer-{ft2,win32}.c: One more 1000 vs. PANGO_SCALE fix. * pango/module-defs.c.win32: New file. * pango/Makefile.am: Distribute it.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index 84d1963d..08ab4ac2 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -23,10 +23,17 @@
#define __PANGOWIN32_PRIVATE_H__
/* Just for debugging, will be removed */
+#ifdef __GNUC__
#define PING(printlist) \
(g_print ("%s:%d ", __PRETTY_FUNCTION__, __LINE__), \
g_print printlist, \
g_print ("\n"))
+#else
+#define PING(printlist) \
+(g_print ("%s:%d ", __FILE__, __LINE__), \
+ g_print printlist, \
+ g_print ("\n"))
+#endif
#include "pango-modules.h"
#include "pangowin32.h"