summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-1-2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2002-09-24 20:51:44 +0000
committerTor Lillqvist <tml@src.gnome.org>2002-09-24 20:51:44 +0000
commitdcbf564cad728558921cbb80e4e2022471d5ae33 (patch)
tree5763ebc3ed6510e636583e786b6df8c39e1e944e /ChangeLog.pre-1-2
parent65ece991798265a60e4b75cd23be8484560b6c0a (diff)
downloadpango-dcbf564cad728558921cbb80e4e2022471d5ae33.tar.gz
Merge from pango-1-0:
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-2')
-rw-r--r--ChangeLog.pre-1-221
1 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index 6f798c7e..30ca2a3c 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,5 +1,26 @@
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.
+
+2002-09-24 Tor Lillqvist <tml@iki.fi>
+
* pango/opentype/pango-ot.def: Remove. Not used. (A static library
is built here. Exported entries are in ../pangoft2.def.)