diff options
author | Kenichi Handa <handa@etlken> | 2010-06-30 15:55:41 +0900 |
---|---|---|
committer | Kenichi Handa <handa@etlken> | 2010-06-30 15:55:41 +0900 |
commit | 769e9d470d674ba60fcf085bccd29824657dc776 (patch) | |
tree | 1adcfc07df5faf9a877ab96859cca6490d4cf9a0 /src/ftfont.c | |
parent | dabe1990725147646af16882e5b0ae3a083e9228 (diff) | |
download | emacs-769e9d470d674ba60fcf085bccd29824657dc776.tar.gz |
Check FC_DUAL too. For such fonts, check width one by one.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r-- | src/ftfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 9699dc58009..33a96143fd0 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -1262,7 +1262,7 @@ ftfont_open (f, entity, pixel_size) spacing = XINT (AREF (entity, FONT_SPACING_INDEX)); else spacing = FC_PROPORTIONAL; - if (spacing != FC_PROPORTIONAL) + if (spacing != FC_PROPORTIONAL && spacing != FC_DUAL) font->min_width = font->average_width = font->space_width = (scalable ? ft_face->max_advance_width * size / upEM : ft_face->size->metrics.max_advance >> 6); |