From 6641b6cbb2a194b2111f03b61b3e2c64813f9485 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Aug 2005 09:16:28 +0000 Subject: Set cairo font resolution. 2005-08-29 Behdad Esfahbod * examples/cairoview.c: Set cairo font resolution. * tests/testboundaries.c: Remove unused Hangul Jamo macros. --- ChangeLog | 6 ++++++ examples/cairoview.c | 1 + tests/testboundaries.c | 6 ------ 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index e16837ba..cb92ce83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-29 Behdad Esfahbod + + * examples/cairoview.c: Set cairo font resolution. + + * tests/testboundaries.c: Remove unused Hangul Jamo macros. + 2005-08-29 Behdad Esfahbod * examples/HELLO.utf8: Add a few Arabic non-spacing marks to the diff --git a/examples/cairoview.c b/examples/cairoview.c index 0dfc9864..c80535b7 100644 --- a/examples/cairoview.c +++ b/examples/cairoview.c @@ -217,6 +217,7 @@ int main (int argc, char **argv) screen = DefaultScreen (display); fontmap = pango_cairo_font_map_get_default (); + pango_cairo_font_map_set_resolution (PANGO_CAIRO_FONT_MAP (fontmap), opt_dpi); context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (fontmap)); /* This is annoying ... we have to create a temporary surface just to diff --git a/tests/testboundaries.c b/tests/testboundaries.c index 829e0ab4..f8661d15 100644 --- a/tests/testboundaries.c +++ b/tests/testboundaries.c @@ -36,12 +36,6 @@ */ -/* Keep these in sync with the same macros in break.c */ - -#define LEADING_JAMO(wc) ((wc) >= 0x1100 && (wc) <= 0x115F) -#define VOWEL_JAMO(wc) ((wc) >= 0x1160 && (wc) <= 0x11A2) -#define TRAILING_JAMO(wc) ((wc) >= 0x11A8 && (wc) <= 0x11F9) -#define JAMO(wc) ((wc) >= 0x1100 && (wc) <= 0x11FF) /* "virama script" is just an optimization; it includes a bunch of * scripts without viramas in them */ -- cgit v1.2.1