comparison src/redisplay.c @ 3659:98af8a976fc3

[xemacs-hg @ 2006-11-05 22:31:31 by aidan] Support specifying fonts for particular character sets in Mule; support translation to ISO 10646-1 for Mule character sets without an otherwise matching font; move to a vector of X11-charset-X11-registry instead of a regex for the charset-registry property.
author aidan
date Sun, 05 Nov 2006 22:31:46 +0000
parents b03fc4eae965
children 26dccfc8fa60
comparison
equal deleted inserted replaced
3658:0db1aaedbbef 3659:98af8a976fc3
758 } 758 }
759 759
760 static int 760 static int
761 space_width (struct window *w) 761 space_width (struct window *w)
762 { 762 {
763 /* While tabs are traditional composed of spaces, for variable-width 763 /* While tabs are traditionally composed of spaces, for variable-width
764 fonts the space character tends to give too narrow a value. So 764 fonts the space character tends to give too narrow a value. So
765 we use 'n' instead. Except that we don't. We use the default 765 we use 'n' instead. Except that we don't. We use the default
766 character width for the default face. If this is actually 766 character width for the default face. If this is actually
767 defined by the font then it is probably the best thing to 767 defined by the font then it is probably the best thing to
768 actually use. If it isn't, we have assumed it is 'n' and have 768 actually use. If it isn't, we have assumed it is 'n' and have