Author Topic: SPRITE TO FONT  (Read 1043 times)

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 359
  • to program what I have do how should programming?
    • View Profile
SPRITE TO FONT
« on: 2021-Jun-07 »
Help:
how to transform a sprite (resized by the program) into a font without SAVESPRITE and LOADFONT ?

ad maiora

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5115
  • O Rly?
    • View Profile
Re: SPRITE TO FONT
« Reply #1 on: 2021-Jun-08 »
You have to save it after rescaling as Temp-File to load it back with LOADFONT.
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 359
  • to program what I have do how should programming?
    • View Profile
Re: SPRITE TO FONT
« Reply #2 on: 2021-Jun-08 »
Thanks  Schranz0r  :good: but that's what I don't want to do

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10825
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: SPRITE TO FONT
« Reply #3 on: 2021-Jun-09 »
Not possible so far. I'm sorry.

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 359
  • to program what I have do how should programming?
    • View Profile
Re: SPRITE TO FONT
« Reply #4 on: 2021-Jun-09 »
even interacting with Opengl?

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5115
  • O Rly?
    • View Profile
Re: SPRITE TO FONT
« Reply #5 on: 2021-Jun-14 »
You don't have access to the Font-Struct from "behind the scenes".
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10825
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: SPRITE TO FONT
« Reply #6 on: 2021-Jun-15 »
Get the new beta. It contains FONT2MEM and MEM2FONT commands.

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 359
  • to program what I have do how should programming?
    • View Profile
Re: SPRITE TO FONT
« Reply #7 on: 2021-Jun-15 »
Thank you  Gernot :good: