I’m loading NotoSansCJK.ttc, which contains 7 weights ranging from Extra Light to Black, using
juce::Typeface::createSystemTypefaceFor(const void *fontFileData, size_t fontFileDataSize).
I’d expect the Typeface to work together with JUCE’s Font system, but am running into the following questions/issues:
- When I call
getStyle()on the Typeface “Thin” is returned. On what basis is this chosen as the default?
- When I create a
juce::Fontwith this Typeface and set the style to
FontStyleFlags::bold, I don’t see my text drawn as bold. What do the flags actually influence? I can see the style changed to “Bold”.