Author Topic: SPRITE TO FONT  (Read 636 times)

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 350
  • to program what I have todo how should I program?
    • 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: 5111
  • 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 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 350
  • to program what I have todo how should I program?
    • 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: 10814
  • 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: 350
  • to program what I have todo how should I program?
    • View Profile
Re: SPRITE TO FONT
« Reply #4 on: 2021-Jun-09 »
even interacting with Opengl?

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5111
  • 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 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10814
  • 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: 350
  • to program what I have todo how should I program?
    • View Profile
Re: SPRITE TO FONT
« Reply #7 on: 2021-Jun-15 »
Thank you  Gernot :good: