It's going to be hard to find documentation about creating fonts in
memory, on the fly. I'd try something simpler, like this:
http://www.codeproject.com/useritems/GraphicFonts.asp
Instead of painting to a textbox, could you allow regular text entry to
a normal textbox, and paint the results to a label? This will let you do
that.
Erik
"Zyrthofar Blackcloak" <sh*********@japan.com> wrote in message
news:hc********************************@4ax.com...
Hmmm... the font I want to create is made from SNES Tiles taken from a
file. That means that the font can change anytime, whether by the
program, or by someone editing the file. What I want is to create the
font at startup, everytime the program is run.
I don't actually want to create the font on the HD; I just want to be
able to use it, at least with a textbox, then I dispose it when the
program ends. It doesn't have to be a "font", just something I can use
with my textboxes.
I would have tried GDI+ directly, but the textbox don't have a paint
method.
sorry if I was a bit ambiguous about what I wanted ^-^
On Mon, 9 Feb 2004 17:07:00 -0700, "Erik Frey" <er*******@hotmail.com>
wrote:
Check out PrivateFontCollection:
http://www.cs.arizona.edu/classes/cs...ndouts/30.html
You'll still need to create font files beforehand, but that shouldn't
betoo difficult. There is a lot of font creation software out there these
days.
Erik
"Zyrthofar Blackcloak" <sh*********@japan.com> wrote in message
news:35********************************@4ax.com.. . Hello everyone!
I just wanted to know how I can create a font from bitmaps in memory
(currently in an array), or from GDI+. I want to be able to use that
font in a textbox, for example.
I have searched a bit on msdn and google, but didn't find anything
useful. A hint or a link would be appreciated :)
Thank you all