Okay cool, thanks. Yeah, I set everything up (<span style="font-style: italic;">The library, environment, since I'm on windows at the moment, etc. etc.</span>), and defined BUILD_FREETYPE and it seems to work. I was just wondering if anyone knew whether this allowed me to simply drop in ttf files into the fonts directory, but it's okay I'll try to figure that out, thanks Thilo!
<br><br><div><span class="gmail_quote">On 3/14/07, <b class="gmail_sendername">Thilo Schulz</b> <<a href="mailto:arny@ats.s.bawue.de">arny@ats.s.bawue.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wednesday 14 March 2007 04:52, Jorge Peņa wrote:<br>> I'd test it myself but I don't know how to. I think I basically put them in<br>> there and then do something with the .menu files? What if I want to use it
<br>> throughout the game, such as inside the console and what not? It's okay, I<br>> don't need ultra specific instructions if you guys don't have time, I'd<br>> appreciate at least a general answer though, if not, it's alright.
<br><br>I am not really well versed in the usage of these fonts, so all I can give you<br>is a few hints. The first thing is that it does not simply suffice to enable<br>the define BUILD_FREETYPE, so you'll need the library on your system and
<br>available to your build environment... but you probably know that already.<br>The freetype stuff pretty much seems to be done in renderer/tr_fonts.c, so you<br>should concentrate on that file if you want to know how freetype integration
<br>works. Use a debugger to step through the functions and see what everything<br>does and you'll quickly grasp what the code already there is doing :)<br><br>--<br>Thilo Schulz<br><br></blockquote></div><br>