Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading font from memory help needed...
#2
(09-16-2023, 12:10 AM)Dav Wrote: 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

Can we see `fontdata$`?
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fibonacci Help needed! Unseen Machine 18 1,407 12-26-2025, 09:05 PM
Last Post: Petr
  Font Size in Threads Dimster 5 376 12-12-2025, 04:49 PM
Last Post: Dimster
  Problem with font in Teletext browser. SquirrelMonkey 7 763 08-27-2025, 11:38 AM
Last Post: BDS107
  Loading from file into _MEM? and LEN a TYPE... Unseen Machine 9 975 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,166 07-03-2025, 04:48 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)