summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-1-6
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2002-09-24 20:05:38 +0000
committerTor Lillqvist <tml@src.gnome.org>2002-09-24 20:05:38 +0000
commit73ea88f60f7b92f8e1f74a36cd2742df072539ae (patch)
treecc1d8f4c91879ed2f203e65d2ccc6befd6cc3057 /ChangeLog.pre-1-6
parent1a1e279b1925509d30ba21d8704e148550087092 (diff)
downloadpango-73ea88f60f7b92f8e1f74a36cd2742df072539ae.tar.gz
Use PANGO_PIXELS macro throughout instead of dividing by PANGO_SCALE.
2002-09-24 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c: Use PANGO_PIXELS macro throughout instead of dividing by PANGO_SCALE. (pango_win32_render): New try. This time handle both glyphs at code point 0, specifically put there by PangoLayout to indicate spacing (for tab handling), and actual invalid glyphs noticed by the shaper. Invalid glyphs are indicated by the flag PANGO_WIN32_UNKNOWN_FLAG. (Idea taken frompangoxft-font.c) (pango_win32_get_unknown_glyph): Take also the char as parameter, return the same char with the above flag ORed in. (pango_win32_font_get_glyph_extents): If the glyph is flagged as invalid, look for glyph 0 instead. Use g_win32_error_message() in warning message instead of numeric error code. * pango/pangowin32.h: Add the new parameter to the pango_win32_get_unknown_glyph() declaration. Surround the API used by shape engines with #ifdef PANGO_ENABLE_ENGINE. * modules/basic/basic-win32.c: Change call accordingly.
Diffstat (limited to 'ChangeLog.pre-1-6')
-rw-r--r--ChangeLog.pre-1-619
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index f5a649b5..9ab02ef6 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,5 +1,24 @@
2002-09-24 Tor Lillqvist <tml@iki.fi>
+ * pango/pangowin32.c: Use PANGO_PIXELS macro throughout instead of
+ dividing by PANGO_SCALE.
+ (pango_win32_render): New try. This time handle both glyphs at
+ code point 0, specifically put there by PangoLayout to indicate
+ spacing (for tab handling), and actual invalid glyphs noticed by
+ the shaper. Invalid glyphs are indicated by the flag
+ PANGO_WIN32_UNKNOWN_FLAG. (Idea taken frompangoxft-font.c)
+ (pango_win32_get_unknown_glyph): Take also the char as parameter,
+ return the same char with the above flag ORed in.
+ (pango_win32_font_get_glyph_extents): If the glyph is flagged as
+ invalid, look for glyph 0 instead. Use g_win32_error_message() in
+ warning message instead of numeric error code.
+
+ * pango/pangowin32.h: Add the new parameter to the
+ pango_win32_get_unknown_glyph() declaration. Surround the API used
+ by shape engines with #ifdef PANGO_ENABLE_ENGINE.
+
+ * modules/basic/basic-win32.c: Change call accordingly.
+
* pango/opentype/pango-ot.def: Remove. Not used. (A static library
is built here. Exported entries are in ../pangoft2.def.)