1. TrueType fonts
- Posted by Molasses <molasses at ALPHALINK.COM.AU> Sep 23, 1998
- 408 views
Hi all, Does anyone have any info or code for loading/saving/displaying Windows TrueType fonts (*.ttf) or the other type of Windows fonts (*.fon)? Thanks in advance, -molasses
2. Re: TrueType fonts
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Sep 23, 1998
- 412 views
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BDE715.5B5A57BE charset="iso-8859-1" "Molasses" wondered: > Does anyone have any info or code for loading/saving/displaying > Windows TrueType fonts (*.ttf) or the other type of Windows fonts > (*.fon)? You can find the file specs at: http://www.wotsit.org/ You can get the source code to a free TrueType renderer at: http://www.freetype.org/ Pete Eberlein has written a version of Euphoria called Peuphoria, located at: http://www.harborside.com/home/x/xseal/euphoria/ He also has a version called 'Allegrophoria', which includes the very cool game library Allegro. It turns out that someone has extended Allegro to use the FreeType library: http://huizen.dds.nl/~deleveld/allegttf.htm So you have a couple of options with the FreeType: 1. Rewrite the FreeType code into Euphoria. 2. Add FreeType wrappers to Peuphoria. 3. Add FreeType wrappers to Allegrophoria. -- David Cuny ------_=_NextPart_001_01BDE715.5B5A57BE charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2232.0"> <TITLE>RE: TrueType fonts</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>"Molasses" wondered:</FONT> </P> <P><FONT SIZE=3D2>> Does anyone have any info or code for = loading/saving/displaying </FONT> <BR><FONT SIZE=3D2>> Windows TrueType fonts (*.ttf) or the other = type of Windows fonts </FONT> <BR><FONT SIZE=3D2>> (*.fon)?</FONT> </P> <P><FONT SIZE=3D2>You can find the file specs at:</FONT> </P> <P> <FONT SIZE=3D2><A = HREF=3D"http://www.wotsit.org/" = </P> <P><FONT SIZE=3D2>You can get the source code to a free TrueType = renderer at:</FONT> </P> <P> <FONT SIZE=3D2><A = HREF=3D"http://www.freetype.org/" = </P> <P><FONT SIZE=3D2>Pete Eberlein has written a version of Euphoria = called Peuphoria, located at:</FONT> </P> <P> <FONT SIZE=3D2><A = HREF=3D"http://www.harborside.com/home/x/xseal/euphoria/" = FONT> </P> <P><FONT SIZE=3D2>He also has a version called 'Allegrophoria', which = includes the very cool game library Allegro. It turns out that someone = has extended Allegro to use the FreeType library:</FONT></P> <P> <FONT SIZE=3D2><A = HREF=3D"http://huizen.dds.nl/~deleveld/allegttf.htm" = </P> <BR> <P><FONT SIZE=3D2>So you have a couple of options with the = FreeType:</FONT> </P> <P> <FONT SIZE=3D2>1. Rewrite = the FreeType code into Euphoria.</FONT> <BR> <FONT SIZE=3D2>2. Add = FreeType wrappers to Peuphoria.</FONT> <BR> <FONT SIZE=3D2>3. Add = FreeType wrappers to Allegrophoria.</FONT> </P> <P><FONT SIZE=3D2>-- David Cuny</FONT> </P> </HTML> ------_=_NextPart_001_01BDE715.5B5A57BE--