Thread: [GD-Windows] Windows true type fonts
Brought to you by:
vexxed72
From: Jacob T. \(C. D. Ltd\) <Ja...@Co...> - 2004-03-24 11:40:40
|
Writing a tool to output true type fonts as images for use in game. All = is fine the last thing I would like to do is give the true type font = file as an input to the tool rather than having to install the true type = font into the system "fonts" directory. So is there a windows way of = opening a true type font and then using it via GDI or GDIplus drawing = commands ? Thanks Jake |
From: <cas...@ya...> - 2004-03-24 14:08:20
|
Jacob Turner (Core Design Ltd) wrote: > Writing a tool to output true type fonts as images for use in game. > All is fine the last thing I would like to do is give the true type > font file as an input to the tool rather than having to install the > true type font into the system "fonts" directory. So is there a > windows way of opening a true type font and then using it via GDI or > GDIplus drawing commands ? I've used freetype to do that and it works fine. Give it a try, it's really easy to use and it's portable at the same time. Hope that helps. -- Ignacio Castaño cas...@ya... |
From: Erwin de V. <er...@vo...> - 2004-03-24 14:40:07
|
AddFontResource(FileName) RemoveFontResource(FileName) Erwin ----- Original Message -----=20 From: "Jacob Turner (Core Design Ltd)" <Ja...@Co...> To: <gam...@li...> Sent: Wednesday, March 24, 2004 12:39 PM Subject: [GD-Windows] Windows true type fonts > Writing a tool to output true type fonts as images for use in game. Al= l is fine the last thing I would like to do is give the true type font file= as an input to the tool rather than having to install the true type font int= o the system "fonts" directory. So is there a windows way of opening a tru= e type font and then using it via GDI or GDIplus drawing commands ? > > Thanks > > Jake > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=CCk > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > |
From: Antonio T. L. <wil...@te...> - 2004-03-24 19:37:32
|
Hi Jake, Check AddFontResource / RemoveFontResource http://msdn.microsoft.com/library/en-us/gdi/fontext_2ylq.asp http://msdn.microsoft.com/library/en-us/gdi/fontext_9r51.asp http://msdn.microsoft.com/library/en-us/gdi/fontext_1m3p.asp > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...] On Behalf Of > Jacob Turner (Core Design Ltd) > Sent: Wednesday, March 24, 2004 3:40 AM > To: gam...@li... > Subject: [GD-Windows] Windows true type fonts > > Writing a tool to output true type fonts as images for use in game. All > is fine the last thing I would like to do is give the true type font file > as an input to the tool rather than having to install the true type font > into the system "fonts" directory. So is there a windows way of opening a > true type font and then using it via GDI or GDIplus drawing commands ? > > Thanks > > Jake |
From: Mike W. <mi...@ge...> - 2004-03-24 22:59:40
|
we already have a tool that will convert a truetype image into a bitmap=20 with coordinate data image that can be read by the game to break the=20 single image into individual letters. the game engine is open-source, so you can grab what you need/want from=20 it ;} www.realityfactory.ca cheers mike w www.gekidodesigns.com Jacob Turner (Core Design Ltd) wrote: > Writing a tool to output true type fonts as images for use in game. Al= l is fine the last thing I would like to do is give the true type font fi= le as an input to the tool rather than having to install the true type fo= nt into the system "fonts" directory. So is there a windows way of openi= ng a true type font and then using it via GDI or GDIplus drawing commands= ? >=20 > Thanks >=20 > Jake >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=CCk > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 >=20 >=20 |
From: Mike W. <mi...@ge...> - 2004-03-24 23:12:43
|
i think i misunderstood - you are looking to do the conversion on the=20 fly? this tool is for just converting them to images, but you=20 should/might be able to use some of the ideas to do the same on the fly? mike w www.gekidodesigns.com Mike Wuetherick wrote: > we already have a tool that will convert a truetype image into a bitmap= =20 > with coordinate data image that can be read by the game to break the=20 > single image into individual letters. >=20 > the game engine is open-source, so you can grab what you need/want from= =20 > it ;} >=20 > www.realityfactory.ca >=20 > cheers > mike w > www.gekidodesigns.com >=20 >=20 > Jacob Turner (Core Design Ltd) wrote: >=20 >> Writing a tool to output true type fonts as images for use in game. =20 >> All is fine the last thing I would like to do is give the true type=20 >> font file as an input to the tool rather than having to install the=20 >> true type font into the system "fonts" directory. So is there a=20 >> windows way of opening a true type font and then using it via GDI or=20 >> GDIplus drawing commands ? >> >> Thanks >> >> Jake >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=CCk >> _______________________________________________ >> Gamedevlists-windows mailing list >> Gam...@li... >> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows >> Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_idU5 >> >> >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=CCk > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 >=20 >=20 |