[cairo] Make font immutable

This commit is contained in:
Behdad Esfahbod 2022-12-25 19:27:53 -07:00
parent ea993af8e7
commit 4be4e017fc
1 changed files with 3 additions and 1 deletions

View File

@ -372,7 +372,9 @@ hb_cairo_init_scaled_font (cairo_scaled_font_t *scaled_font,
font = hb_font_create (face);
// TODO Set variations
// TODO Set (what?) scale and slant
// TODO Set (what?) scale; Note, should NOT set slant.
hb_font_make_immutable (font);
}
cairo_scaled_font_set_user_data (scaled_font,