[hb-view] Set hb-cairo scale-factor

Unused.
pull/3986/head
Behdad Esfahbod 2 years ago
parent 81c04b0c21
commit 5efb3bc691
  1. 3
      util/helper-cairo.hh

@ -100,7 +100,10 @@ helper_cairo_create_scaled_font (const font_options_t *font_opts)
cairo_font_face_t *cairo_face;
if (use_hb_draw)
{
cairo_face = hb_cairo_font_face_create_for_font (font);
hb_cairo_font_face_set_scale_factor (cairo_face, 1 << font_opts->subpixel_bits);
}
#ifdef HAVE_CAIRO_FT
else
cairo_face = helper_cairo_create_ft_font_face (font_opts);

Loading…
Cancel
Save