summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-07-18 23:06:25 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-07-18 23:06:25 +0000
commitc85f6672f3329705ed186d8eb50f71528e1d087d (patch)
treee9f5bfa277799db06c2c305a2c32c0151670b980 /pango/pangowin32-private.h
parent127236be60b9b850d64ba904ac881953b97f341a (diff)
downloadpango-c85f6672f3329705ed186d8eb50f71528e1d087d.tar.gz
Add Tahoma and Angsana New, these common fonts have Thai characters.
2000-07-19 Tor Lillqvist <tml@iki.fi> * examples/pangowin32.aliases: Add Tahoma and Angsana New, these common fonts have Thai characters. * pango/pangowin32-private.h: Rename fonts and n_fonts members to logfonts and n_logfonts, as that is what they are. * pango/pangowin32.c: Bug fixes. Works much better now. (pango_win32_font_get_glyph_extents): Set y offset correctly. (subfont_has_glyph): Call SetTextAlign. Select the font into the HDC before calling GetTextMetrics.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index 15c849b7..84d1963d 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -43,8 +43,8 @@ struct _PangoWin32Font
{
PangoFont font;
- LOGFONT *fonts;
- int n_fonts;
+ LOGFONT *logfonts;
+ int n_logfonts;
int size;
/* hash table mapping from Unicode subranges to array of PangoWin32Subfont