Difference between revisions of "10 December 2006"

From Organic Design wiki
m
m
 
Line 4: Line 4:
 
[[Interface.c]] has been [http://www.organicdesign.co.nz/wiki/index.php?title=Interface.h&diff=prev&oldid=43016 adjusted] to incorporate the [http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fttf SDL_ttf] library which is SDL's [[w:TrueType|Truetype font]] renderer which in turn uses the platform independent [http://www.freetype.org/ Freetype] project.
 
[[Interface.c]] has been [http://www.organicdesign.co.nz/wiki/index.php?title=Interface.h&diff=prev&oldid=43016 adjusted] to incorporate the [http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fttf SDL_ttf] library which is SDL's [[w:TrueType|Truetype font]] renderer which in turn uses the platform independent [http://www.freetype.org/ Freetype] project.
  
Some font [http://www.organicdesign.co.nz/wiki/index.php?title=Interface.h&diff=0&oldid=43016 testing code] was then added which adds a "hello world" to each of the [[recursive rectangles]] as shown in the screenie on the right.
+
Some font [http://www.organicdesign.co.nz/wiki/index.php?title=Interface.h&diff=0&oldid=43016 testing code] was then added which adds a "hello world" to each of the [[recursive rectangles]] as shown in the screenshot on the right.
 
<td>&nbsp;&nbsp;<td valign=top style=padding:0;margin:0>
 
<td>&nbsp;&nbsp;<td valign=top style=padding:0;margin:0>
 
[[Image:Sdl-ttf.png]]
 
[[Image:Sdl-ttf.png]]
 
<td>
 
<td>
 
</table></table>
 
</table></table>

Latest revision as of 03:54, 10 December 2006

Font rendering working for peerd interface

Interface.c has been adjusted to incorporate the SDL_ttf library which is SDL's Truetype font renderer which in turn uses the platform independent Freetype project.

Some font testing code was then added which adds a "hello world" to each of the recursive rectangles as shown in the screenshot on the right.

  

Sdl-ttf.png