summaryrefslogtreecommitdiff
path: root/src/w32font.h
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-07-30 21:45:35 +0000
committerJason Rumney <jasonr@gnu.org>2008-07-30 21:45:35 +0000
commitbd187c49598c3a6db2ed0cbfe84a36171be7121d (patch)
tree9e01bcbe6374049c336c19cd1102d88e7d4e87b0 /src/w32font.h
parent00fade45540b2f21c3bfc040621909da1601cfe5 (diff)
downloademacs-bd187c49598c3a6db2ed0cbfe84a36171be7121d.tar.gz
* w32font.h (struct w32font_info): Use unicode version of textmetrics.
* w32font.c (w32font_encode_char): Leave as unicode if in range. (w32font_open_internal): Get unicode version of textmetrics. Don't enable or disable glyph indices here. (w32font_open): Disable use of glyph indices. * w32uniscribe.c (uniscribe_open): Enable use of glyph indices.
Diffstat (limited to 'src/w32font.h')
-rw-r--r--src/w32font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32font.h b/src/w32font.h
index 25cf4ece560..748b329f8da 100644
--- a/src/w32font.h
+++ b/src/w32font.h
@@ -49,7 +49,7 @@ struct w32_metric_cache
struct w32font_info
{
struct font font;
- TEXTMETRIC metrics;
+ TEXTMETRICW metrics;
unsigned int glyph_idx;
struct w32_metric_cache **cached_metrics;
int n_cache_blocks;