From: handa Date: Mon, 2 Oct 2006 12:32:49 +0000 (+0000) Subject: (struct MFont): New member `multiple_sizes'. Bit-size of X-Git-Tag: REL-1-3-4~35 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=022c8001a15c89ca5540c05cfc8befd466e77fad;p=m17n%2Fm17n-lib.git (struct MFont): New member `multiple_sizes'. Bit-size of `size' changed to 24. --- 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;