Add Announcement Here

Freetype

Freetype

I've decided to use freetype to render characters on demand to a bitmap, which I think is cool.

It means we should be able to generate text to most type of font sizes and with good resolution without including a sprite sheet per font size. Hopefully we will be able to embed an 'Open Font' file that supports pretty much any language character set, which will make the exe fairly large but it won't have a bunch of files dangling about the place. The one open font will be the system default, however we shouldn't rule out loading additional supporting fonts as needed.

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: Freetype

http://freetype.org/freetype2/documentation.html

I've been doing some more work which is going to include free type, so I'll be posting more here soon.

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: Freetype

Gonna do something like this to embed a default, all languages, font file in the exe:
linux/osx: http://stackoverflow.com/questions/2627 … -gcc-mingw
windows: http://stackoverflow.com/questions/2740 … to-a-c-dll

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: Freetype

Here's the freetype basic interface:
http://www.freetype.org/freetype2/docs/ … rface.html

From there you can find all the other stuff about it.

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: Freetype

Some tutorials on working with free type.
http://lazyfoo.net/tutorials/OpenGL/23_ … /index.php

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
246
Total Polls:
0
Total Posts:
475
Dormant:
User Info:
 
Total Users:
7
Newest User:
ian96
Members Online:
0
Guests Online:
39

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked
gamestool, Powered by Joomla! and designed by SiteGround Joomla Templates