aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2000-10-29 21:02:58 +0000
committerJason Rumney2000-10-29 21:02:58 +0000
commit0e4c08e8c8b28a45137fbbb51b86760777498336 (patch)
tree96f96424c9ffc55432172430e84ef943cb5cd0dc /src
parent691a3cb77b362b2d57800dd7a20f03d3663a9f09 (diff)
downloademacs-0e4c08e8c8b28a45137fbbb51b86760777498336.tar.gz
emacs-0e4c08e8c8b28a45137fbbb51b86760777498336.zip
(bdffont): Add nchars.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog15
-rw-r--r--src/w32bdf.h1
2 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f49ca95e947..81869c73512 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,18 @@
12000-10-29 Jason Rumney <jasonr@gnu.org>
2
3 * w32term.h (FONT_DESCENT): Negate descent of BDF fonts.
4
5 * w32term.c (w32_bdf_per_char_metric): Negate descent.
6 (w32_cache_char_metrics): Handle possibility that 'x' does not
7 exist in a BDF font.
8 (W32_TEXTOUT): w32_BDF_TextOut wants number of bytes not chars.
9
10 * w32bdf.h (bdffont): Add nchars.
11
12 * w32bdf.c (set_bdf_font_info): Set it.
13 (w32_BDF_TextOut): Swap byte order of double byte characters.
14 (w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
15
12000-10-28 Eli Zaretskii <eliz@is.elta.co.il> 162000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
2 17
3 * frame.c (Fframe_parameters): Fix the change from 2000-10-16: 18 * frame.c (Fframe_parameters): Fix the change from 2000-10-16:
diff --git a/src/w32bdf.h b/src/w32bdf.h
index 47f3067d290..df0976bb1fa 100644
--- a/src/w32bdf.h
+++ b/src/w32bdf.h
@@ -107,6 +107,7 @@ typedef struct
107 int width; 107 int width;
108 int height; 108 int height;
109 int pixsz; 109 int pixsz;
110 int nchars;
110} bdffont; 111} bdffont;
111 112
112#define BDF_FILE_SIZE_MAX 256*1024*1024 /* 256Mb */ 113#define BDF_FILE_SIZE_MAX 256*1024*1024 /* 256Mb */