diff options
author | Paul Eggert <[email protected]> | 2012-09-06 01:04:49 -0700 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2012-09-06 01:04:49 -0700 |
commit | a864ef14570715dc3233fbbf2e9da7aa8f29729e (patch) | |
tree | d350c376998ae3bf0ef69f3d708f766e515a3465 /src/w32font.h | |
parent | 0699fc18a5ea00b9a6d64b0e0ebf33b4723beb10 (diff) |
Use bool for booleans in font-related modules.
* font.c (font_intern_prop, font_style_to_value)
(font_style_symbolic, font_parse_xlfd, font_parse_fcname)
(generate_otf_features, font_check_otf_features, font_check_otf)
(font_match_p, font_list_entities, font_at):
* fontset.c (fontset_id_valid_p, reorder_font_vector
(fontset_find_font, Fset_fontset_font)
(face_suitable_for_char_p) [0]:
* ftfont.c (fc_initialized, ftfont_get_open_type_spec)
(ftfont_open, ftfont_text_extents, ftfont_check_otf):
(m17n_flt_initialized, ftfont_shape_by_flt):
* ftxfont.c (ftxfont_draw_bitmap, ftxfont_draw):
* nsfont.m (nsfont_draw):
* w32font.c (w32font_draw):
* w32term.c (x_draw_glyphless_glyph_string_foreground):
Use bool for booleans.
* font.h: Adjust to above API changes.
(struct font, struct font_driver, struct font_driver_list):
Use bool for booleans.
(struct font): Remove useless member encoding_type.
All users removed.
* fontset.c, xftfont.c: Omit unnecessary static decls.
Diffstat (limited to 'src/w32font.h')
-rw-r--r-- | src/w32font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32font.h b/src/w32font.h index a29ddbe778..8fa00a9b52 100644 --- a/src/w32font.h +++ b/src/w32font.h @@ -77,7 +77,7 @@ int w32font_has_char (Lisp_Object entity, int c); int w32font_text_extents (struct font *font, unsigned *code, int nglyphs, struct font_metrics *metrics); int w32font_draw (struct glyph_string *s, int from, int to, - int x, int y, int with_background); + int x, int y, bool with_background); int uniscribe_check_otf (LOGFONT *font, Lisp_Object otf_spec); |