Text without AA

Jimmy

Well-known member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
1,105
I fail to write scaled text on the canvas, is there a way to control how font are loaded like images? If no maybe LoadFont could use a flag?
 

Jimmy

Well-known member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
1,105
This works with custom fonts really well but it seems that you can't do the same with the default font without re-loading it.

Code:
    ' In class
    Field myFont:Font
    
    ' In OnCreate
    myFont = Font.Load("FONT.TXT",False)

    ' In OnRender
    canvas.SetFont myFont
 
Top Bottom