1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(bdffont): Add nchars.

This commit is contained in:
Jason Rumney 2000-10-29 21:02:58 +00:00
parent 691a3cb77b
commit 0e4c08e8c8
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,18 @@
2000-10-29 Jason Rumney <jasonr@gnu.org>
* w32term.h (FONT_DESCENT): Negate descent of BDF fonts.
* w32term.c (w32_bdf_per_char_metric): Negate descent.
(w32_cache_char_metrics): Handle possibility that 'x' does not
exist in a BDF font.
(W32_TEXTOUT): w32_BDF_TextOut wants number of bytes not chars.
* w32bdf.h (bdffont): Add nchars.
* w32bdf.c (set_bdf_font_info): Set it.
(w32_BDF_TextOut): Swap byte order of double byte characters.
(w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
* frame.c (Fframe_parameters): Fix the change from 2000-10-16:

View File

@ -107,6 +107,7 @@ typedef struct
int width;
int height;
int pixsz;
int nchars;
} bdffont;
#define BDF_FILE_SIZE_MAX 256*1024*1024 /* 256Mb */