Hi,

I’m trying to use multiple FontLoader instances to load multiple variations of 
the same font family since we can only specify a file on the font loader source.

FontLoader {
    id: mainFont
    source: "qrc:/fonts/OpenSans-Regular.ttf"
}

FontLoader {
    id: mainFontLight
    source: "qrc:/fonts/OpenSans-Light.ttf"
}

However, when using mainFontLight as font, the font appears as mainFont.

Is there any way of loading multiple variations of the same font using Qt? 

Thanks!

Regards,

Nuno
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to