Font syntax change

Post

Posted
Rating:
#1 (In Topic #1843)
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’

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:-

FontSyntax.png

But now it has changed to: -

FontSyntax2.png

Was
.Font = Font["Ubuntu,55,bold"]
Now
.Font = Font["Ubuntu,bold,55"]





 
Online now: No Back to the top

Post

Posted
Rating:
#2
Banned
It's supposed to be backwards compatible, mention it to Benoit.
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’

BruceSteers said

It's supposed to be backwards compatible, mention it to Benoit.
Thanks, email sent.
Online now: No Back to the top

Post

Posted
Rating:
#4
Banned
Oops , sorry i realized that the actual recent changes were not mentioned.

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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.