From 022c8001a15c89ca5540c05cfc8befd466e77fad Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 2 Oct 2006 12:32:49 +0000 Subject: [PATCH] (struct MFont): New member `multiple_sizes'. Bit-size of `size' changed to 24. --- src/font.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/font.h b/src/font.h index 0c5747a..f7caef7 100644 --- a/src/font.h +++ b/src/font.h @@ -108,9 +108,13 @@ struct MFont enum MFontSource source : 2; enum MFontSpacing spacing : 2; unsigned for_full_width : 1; - /* Pixel size of the font in 1/10 pixels. The negative value means - a point size in 1/10 pt. */ - int size : 25; + /* For FONT-OBJ, 1 means `size' is a logical or of bit masks for + available pixel sizes (Nth bit corresponds to (6 + N) pixels), 0 + means `size' is an actual pixel size * 10. For FONT-SPEC and + FONT-OPENED, this is always 0, and `size' is an actual pixel + size * 10. */ + unsigned multiple_sizes : 1; + unsigned size : 24; MSymbol file; MSymbol capability; MFontEncoding *encoding; -- 1.7.10.4