Like this then?
Code: Select all
t = FontRequest("Select a font")
If t.name
OpenFont(1, t.name, t.size)
DebugPrint(GetAttribute(#FONT, 1, #ATTRFONTAA))
CloseFont(1)
EndIf
Like this then?
Code: Select all
t = FontRequest("Select a font")
If t.name
OpenFont(1, t.name, t.size)
DebugPrint(GetAttribute(#FONT, 1, #ATTRFONTAA))
CloseFont(1)
EndIf
Code: Select all
If t.name
OpenFont(1, t.name, t.size) ;Here we get the number of Font for get the attribute great idea.
Alias=GetAttribute(#FONT, 1, #ATTRFONTAA)
If Alias=True Then SetFontStyle(@ANTIALIAS)
endIf