Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading font from memory help needed...
#1
I've been trying to load a font from string memory, like @a740g did HERE, but none of my font string data will work like a740g code does.  i must not be doing it right.  Here's what I'm doing.

I'm first loading the entire .otf font file data into a string named fontdata$.  Then I try to load the font from fontdata$ memory like this.

myfont& = _LoadFont(fontdata$, 32, "memory")
_Font myfont&

Thanks for any help....

- Dav

Find my programs here in Dav's QB64 Corner
Reply


Messages In This Thread
Loading font from memory help needed... - by Dav - 09-16-2023, 12:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fibonacci Help needed! Unseen Machine 18 1,381 12-26-2025, 09:05 PM
Last Post: Petr
  Font Size in Threads Dimster 5 362 12-12-2025, 04:49 PM
Last Post: Dimster
  Problem with font in Teletext browser. SquirrelMonkey 7 751 08-27-2025, 11:38 AM
Last Post: BDS107
  Loading from file into _MEM? and LEN a TYPE... Unseen Machine 9 960 08-03-2025, 02:55 AM
Last Post: SMcNeill
  need help printing a scaled string in a custom font to a 32-bit image madscijr 9 1,151 07-03-2025, 04:48 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)