This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Loading A font


Loading A font

Postby Guest » Jul 16, 2003 @ 1:40pm

Hi i notice this is how you load a VGA font from
a resource

FindResource(_Module.GetModuleInstance(), MAKEINTRESOURCE(IDR_WACKY_FONT), TEXT("FONTS"));

How would i do this manually, is it possible..?
Guest
 


Postby fzammetti » Jul 16, 2003 @ 2:07pm

I'm not sure what you mean by manually... could you elaborate a bit?
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Guest » Jul 16, 2003 @ 2:18pm

i meant can i load the font as i would an external image. i do not wish to compile my resources at the moment
Guest
 


Postby fzammetti » Jul 16, 2003 @ 2:23pm

Sorry, that functionality isn't included at this point. However, the font drawText function simply requires an unsigned char* to the font data (as I recall, be sure to check the code to be sure I remembered correctly), so you can load it yourself without any problem.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Guest » Jul 16, 2003 @ 3:53pm

Guest
 


Postby fzammetti » Jul 16, 2003 @ 3:57pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Guest » Jul 16, 2003 @ 4:00pm

Guest
 


Postby fzammetti » Jul 16, 2003 @ 4:37pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron