Fix: ctx.set_fonts() Doesn't Apply Fonts with Same Name
If a font file named my_font is set using ctx.set_fonts() and then another font file with the same name is set again using ctx.set_fonts(), it won't be applied.
Additionally, it's recommended to apply fonts immediately using ctx.set_fonts().
This will also allow to reset the fonts and texture.
Fix: ctx.set_fonts() Doesn't Apply Fonts with Same Name
If a font file named
my_font
is set usingctx.set_fonts()
and then another font file with the same name is set again usingctx.set_fonts()
, it won't be applied.ctx.set_fonts()
.reset
thefonts
andtexture
.