summaryrefslogtreecommitdiff
path: root/pango/pangowin32.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-11-23 13:12:51 +0000
committerHans Breuer <hans@src.gnome.org>2001-11-23 13:12:51 +0000
commitb4b11e4ba669ddfdb54e7da737f9b9b0f22b9e9f (patch)
tree1b57c4eee70532bfa12651d12a131e7488c68026 /pango/pangowin32.c
parenta2c1ae618174619a2b99a7f8e765713be249c5e2 (diff)
downloadpango-b4b11e4ba669ddfdb54e7da737f9b9b0f22b9e9f.tar.gz
removed the arbitrary limit to 10 fonts. Instead make the command line
2001-11-23 Hans Breuer <hans@breuer.org> * testfonts.c : removed the arbitrary limit to 10 fonts. Instead make the command line params useful again and reduce the default result bitmap size by decreasing the default font size. * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Don't always turn on anti-aliasing. Respect the users settings from 'Properties of Display/Effects'. * pango/makefile.msc : updated, version 0.22 * pango/pango.def : updated externals * pango/font.c pango/pango-coverage.c pango-utils.c pango/pangowin32.c pango/shape.c : coding style and static correctness
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r--pango/pangowin32.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index a6d5052d..f9634011 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -794,7 +794,7 @@ struct type_4_table { /* Must be packed! */
guint16 arrays[1];
};
-guint
+static guint
get_unicode_mapping_offset (HDC hdc)
{
guint16 n_tables;
@@ -830,7 +830,7 @@ get_unicode_mapping_offset (HDC hdc)
return 0;
}
-struct type_4_table *
+static struct type_4_table *
get_unicode_mapping (HDC hdc)
{
guint32 offset;
@@ -886,28 +886,28 @@ get_unicode_mapping (HDC hdc)
return table;
}
-guint16 *
+static guint16 *
get_id_range_offset (struct type_4_table *table)
{
gint32 seg_count = table->seg_count_x_2/2;
return &table->arrays[seg_count*3];
}
-guint16 *
+static guint16 *
get_id_delta (struct type_4_table *table)
{
gint32 seg_count = table->seg_count_x_2/2;
return &table->arrays[seg_count*2];
}
-guint16 *
+static guint16 *
get_start_count (struct type_4_table *table)
{
gint32 seg_count = table->seg_count_x_2/2;
return &table->arrays[seg_count*1];
}
-guint16 *
+static guint16 *
get_end_count (struct type_4_table *table)
{
gint32 seg_count = table->seg_count_x_2/2;
@@ -917,7 +917,7 @@ get_end_count (struct type_4_table *table)
}
-gboolean
+static gboolean
find_segment (struct type_4_table *table,
guint16 wc,
guint16 *segment)