Font syntax change
Posted
#1
(In Topic #1843)
Guru


There has been a change to the Font syntax
I have discovered that in Gambas V3.20.0 the font syntax has changed, and the earlier syntax does not work any more.The earlier syntax, as still shown on the wiki HERE, is:-
But now it has changed to: -
Was
.Font = Font["Ubuntu,55,bold"]
Now
.Font = Font["Ubuntu,bold,55"]
Posted
Banned
Posted
Guru


Thanks, email sent.BruceSteers said
It's supposed to be backwards compatible, mention it to Benoit.
From “Post #12,521”, October 19th 2025, 8:29 AM
Posted
Banned
There were some changes in Font structure I think meant to make it more compatible with web fonts.
What you mention as the change (not working a certain way round anymore) I do not think is intentional. just a glitch in the updated code.
1 guest and 0 members have just viewed this.



