(w32_enumfont_pattern_entity): Use FONT_SPACING_CHARCELL for
backwards compatibility.
if (physical_font->ntmTm.tmPitchAndFamily & 0x01)
ASET (entity, FONT_SPACING_INDEX, make_number (FONT_SPACING_PROPORTIONAL));
else
- ASET (entity, FONT_SPACING_INDEX, make_number (FONT_SPACING_MONO));
+ ASET (entity, FONT_SPACING_INDEX, make_number (FONT_SPACING_CHARCELL));
if (requested_font->lfQuality != DEFAULT_QUALITY)
{
}
}
-static struct
-{
- unsigned w32_numeric;
- unsigned numeric;
-} w32_weight_table[] =
- { { FW_THIN, 0 },
- { FW_EXTRALIGHT, 40 },
- { FW_LIGHT, 50},
- { FW_NORMAL, 100},
- { FW_MEDIUM, 100},
- { FW_SEMIBOLD, 180},
- { FW_BOLD, 200},
- { FW_EXTRABOLD, 205},
- { FW_HEAVY, 210} };
-
static int
w32_decode_weight (fnweight)
int fnweight;