Mercurial > emacs
comparison src/fontset.h @ 17883:8173865f80ce
Change the declaration o encoding
from `int' to `unsigned char'.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 19 May 1997 03:55:24 +0000 |
parents | a0db136e6595 |
children | 9b98ddd07fe5 |
comparison
equal
deleted
inserted
replaced
17882:46f958bf3348 | 17883:8173865f80ce |
---|---|
69 If the value can't be decided from information of the font, we | 69 If the value can't be decided from information of the font, we |
70 consult `font-encoding-alist' to get of the corresponding charset | 70 consult `font-encoding-alist' to get of the corresponding charset |
71 whose default value is defined in lisp/fontset.el. Since there's | 71 whose default value is defined in lisp/fontset.el. Since there's |
72 no charset whose id is 1, we use encoding[1] to store the | 72 no charset whose id is 1, we use encoding[1] to store the |
73 encoding information decided by the font itself. */ | 73 encoding information decided by the font itself. */ |
74 int encoding[MAX_CHARSET + 1]; | 74 unsigned char encoding[MAX_CHARSET + 1]; |
75 | 75 |
76 /* The baseline position of a font is normally `ascent' value of the | 76 /* The baseline position of a font is normally `ascent' value of the |
77 font. However, there exists many fonts which don't set `ascent' | 77 font. However, there exists many fonts which don't set `ascent' |
78 an appropriate value to be used as baseline position. This is | 78 an appropriate value to be used as baseline position. This is |
79 typical in such ASCII fonts which are designed to be used with | 79 typical in such ASCII fonts which are designed to be used with |