diff --git a/src/hb-aat-layout.h b/src/hb-aat-layout.h index 89acb3544..dc1bf9657 100644 --- a/src/hb-aat-layout.h +++ b/src/hb-aat-layout.h @@ -732,8 +732,7 @@ HB_EXTERN hb_ot_name_id_t hb_aat_layout_feature_type_get_name_id (hb_face_t *face, hb_aat_layout_feature_type_t feature_type); -typedef struct hb_aat_layout_feature_selector_info_t -{ +typedef struct hb_aat_layout_feature_selector_info_t { hb_ot_name_id_t name_id; hb_aat_layout_feature_selector_t enable; hb_aat_layout_feature_selector_t disable; diff --git a/src/hb-buffer.h b/src/hb-buffer.h index 19a89bb61..932531a8c 100644 --- a/src/hb-buffer.h +++ b/src/hb-buffer.h @@ -59,8 +59,7 @@ HB_BEGIN_DECLS * The #hb_glyph_info_t is the structure that holds information about the * glyphs and their relation to input text. */ -typedef struct hb_glyph_info_t -{ +typedef struct hb_glyph_info_t { hb_codepoint_t codepoint; /*< private >*/ hb_mask_t mask; diff --git a/src/hb-font.h b/src/hb-font.h index e1a5719f1..5c6d56897 100644 --- a/src/hb-font.h +++ b/src/hb-font.h @@ -82,8 +82,7 @@ hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs); /* font and glyph extents */ /* Note that typically ascender is positive and descender negative in coordinate systems that grow up. */ -typedef struct hb_font_extents_t -{ +typedef struct hb_font_extents_t { hb_position_t ascender; /* typographic ascender. */ hb_position_t descender; /* typographic descender. */ hb_position_t line_gap; /* suggested line spacing gap. */ @@ -100,8 +99,7 @@ typedef struct hb_font_extents_t } hb_font_extents_t; /* Note that height is negative in coordinate systems that grow up. */ -typedef struct hb_glyph_extents_t -{ +typedef struct hb_glyph_extents_t { hb_position_t x_bearing; /* left side of glyph from origin. */ hb_position_t y_bearing; /* top side of glyph from origin. */ hb_position_t width; /* distance from left to right side. */ diff --git a/src/hb-ot-color.h b/src/hb-ot-color.h index 63ef20a1a..4f37a4386 100644 --- a/src/hb-ot-color.h +++ b/src/hb-ot-color.h @@ -100,8 +100,7 @@ hb_ot_color_has_layers (hb_face_t *face); * * Since: 2.1.0 **/ -typedef struct hb_ot_color_layer_t -{ +typedef struct hb_ot_color_layer_t { hb_codepoint_t glyph; unsigned int color_index; } hb_ot_color_layer_t; diff --git a/src/hb-ot-deprecated.h b/src/hb-ot-deprecated.h index bc72f8a70..2e75deef2 100644 --- a/src/hb-ot-deprecated.h +++ b/src/hb-ot-deprecated.h @@ -82,8 +82,7 @@ hb_ot_tag_from_language (hb_language_t language); * Since: 1.4.2 * Deprecated: 2.2.0 */ -typedef struct hb_ot_var_axis_t -{ +typedef struct hb_ot_var_axis_t { hb_tag_t tag; hb_ot_name_id_t name_id; float min_value; diff --git a/src/hb-ot-name.h b/src/hb-ot-name.h index 3b4ad581c..6f3fcd242 100644 --- a/src/hb-ot-name.h +++ b/src/hb-ot-name.h @@ -88,8 +88,7 @@ typedef unsigned int hb_ot_name_id_t; * * Since: 2.1.0 **/ -typedef struct hb_ot_name_entry_t -{ +typedef struct hb_ot_name_entry_t { hb_ot_name_id_t name_id; /*< private >*/ hb_var_int_t var; diff --git a/src/hb-ot-var.h b/src/hb-ot-var.h index fc5a9f3ca..ef2ca0a71 100644 --- a/src/hb-ot-var.h +++ b/src/hb-ot-var.h @@ -115,8 +115,7 @@ typedef enum { /*< flags >*/ * * Since: 2.2.0 */ -typedef struct hb_ot_var_axis_info_t -{ +typedef struct hb_ot_var_axis_info_t { unsigned int axis_index; hb_tag_t tag; hb_ot_name_id_t name_id;