Author Topic: True Type Fonts  (Read 285 times)

Offline Drex

  • Mc. Print
  • *
  • Posts: 3
    • View Profile
True Type Fonts
« on: 2021-Jun-27 »
Hi,

Have been using the trial version of GLbasic for about a year, so have been loading fonts, in the .png format.

I have just purchased the steam version, which says, it supports .ttf fonts, but I can't get them to load.

Can anyone, point me in the right direction ?

Thanks.

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 343
  • to program what I have todo how should I program?
    • View Profile
Re: True Type Fonts
« Reply #1 on: 2021-Jun-27 »
I confirm I tried it but it doesn't work

Offline Drex

  • Mc. Print
  • *
  • Posts: 3
    • View Profile
Re: True Type Fonts
« Reply #2 on: 2021-Jun-27 »
Thanks for the reply……

I don’t understand, as it’s advertised, as supported in version 1.6 ?

Oh well, back to steam for a refund, what a waste of time.

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 343
  • to program what I have todo how should I program?
    • View Profile
Re: True Type Fonts
« Reply #3 on: 2021-Jun-27 »
if I were you I would wait. Surely the GLB update will come out in a while. Somewhere in the forum I read that there will be and then ..... an excellent language like GLB cannot be discarded for a lack, even if temporary. I'm having a lot of fun with this language

Offline Drex

  • Mc. Print
  • *
  • Posts: 3
    • View Profile
Re: True Type Fonts
« Reply #4 on: 2021-Jun-27 »
I'm  having fun too, with GLbasic.....

I tried Python for a little while, but found it too slow, so I am switching between GLbasic & Javascript\p5.js.

The one downside to using Javascript is, that everything has to be done in the browser window, which can get annoying
at times, but it does support .ttf fonts :)

Hopefully they will implement .ttf in GLbasic soon, still can't understand why it is advertised as being in version 1.6 though  ::)


Offline Qedo

  • Dr. Type
  • ****
  • Posts: 343
  • to program what I have todo how should I program?
    • View Profile
Re: True Type Fonts
« Reply #5 on: 2021-Jun-28 »
Counterorder ..... :S

tried with GLB 16,793 and it works.

LOADFONT "FORTE_system.TTF", 1
SETFONT 1.3
PRINT "Print TTF font", 0,0,1 // GLBasic IDE, Version: 16,793
SHOWSCREEN
MOUSEWAIT
END

only it seems with other zoon values, in example 3, the quality is not high

ad maiora

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 343
  • to program what I have todo how should I program?
    • View Profile
Re: True Type Fonts
« Reply #6 on: 2021-Jun-28 »
and also works with the third color parameter.
Great
 =D