I’d like to use a serialized font as default font but I don’t known how to do it.
I managed to serialize a font and use it for specific component.
I also managed to set a default system font using the Font::setDefaultSansSerifFontName method.
But I don’t know how to use my serialized font as a default one. It seems the setDefaultSansSerifFontName can only be used for system fonts.
Note : I don’t want to install the font on the system.
Does anybody have an idea ?