As reported in:
Looks like if a font is bitmap-only, and NO_HINTING is requested, we fail to load the glyphs. Checking the code I see that is indeed the case in the FcPattern codepath:
↦ /* Force embedded bitmaps off if no hinting requested */
↦ if (ft_options.base.hint_style == CAIRO_HINT_STYLE_NONE)
↦ bitmap = FcFalse;
↦ if (!bitmap)
↦ ft_options.load_flags |= FT_LOAD_NO_BITMAP;
The fact that it's only done in that codepath is arbitrary to begin with. Probably need to move somewhere closer to the actual glyph loading, and excepted if the FT_Face has no outlines.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/326.