diff --git a/docs/usermanual-fonts-and-faces.xml b/docs/usermanual-fonts-and-faces.xml index e7e580143..2c5d97a74 100644 --- a/docs/usermanual-fonts-and-faces.xml +++ b/docs/usermanual-fonts-and-faces.xml @@ -495,8 +495,8 @@ hb_font_set_variations(font, variation_data, variation_count); Fonts may provide pre-rendered images for glyphs instead of or in addition to outlines. This is most common for fonts that contain colored glyphs, such as - Emoji. To access these images, use hb_ot_color_reference_png() - or hb_ot_color_reference_svg(). + Emoji. To access these images, use hb_ot_color_glyph_reference_png() + or hb_ot_color_glyph_reference_svg(). Another way in which fonts provide colored glyphs is via paint graphs that @@ -507,7 +507,7 @@ hb_font_set_variations(font, variation_data, variation_count); access glyph data in this form. - In the general case, you have to use hb_font_paint_or_fail_glyph() + In the general case, you have to use hb_font_paint_glyph_or_fail() and pass a hb_paint_funcs_t struct with callbacks to obtain paint color glyphs, either graphs or image glyphs. The hb_font_paint_glyph() API is higher level and can handle diff --git a/docs/usermanual-integration.xml b/docs/usermanual-integration.xml index 81c64bc16..655e55f29 100644 --- a/docs/usermanual-integration.xml +++ b/docs/usermanual-integration.xml @@ -256,7 +256,7 @@ hb_font_t *font = hb_ft_font_create(face); hb_ft_font_changed() that you should call whenever you have altered the properties of your underlying FT_Face, as well as a - hb_ft_get_face() that you can call on an + hb_ft_font_get_face() that you can call on an hb_font_t font object to fetch its underlying FT_Face. @@ -524,7 +524,7 @@ hb_ft_font_set_funcs(font); hb_coretext_font_create(), and you can fetch the associated CTFontRef from a hb_font_t font object with - hb_coretext_face_get_ct_font(). + hb_coretext_font_get_ct_font(). HarfBuzz also offers a hb_font_set_ptem()