[quake3] Freetype

Jorge Peña jorgepblank at gmail.com
Wed Mar 14 09:57:03 EDT 2007


Okay cool, thanks. Yeah, I set everything up (The library, environment,
since I'm on windows at the moment, etc. etc.), 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!

On 3/14/07, Thilo Schulz <arny at ats.s.bawue.de> wrote:
>
> On Wednesday 14 March 2007 04:52, Jorge Peña wrote:
> > I'd test it myself but I don't know how to. I think I basically put them
> in
> > there and then do something with the .menu files? What if I want to use
> it
> > throughout the game, such as inside the console and what not? It's okay,
> I
> > don't need ultra specific instructions if you guys don't have time, I'd
> > appreciate at least a general answer though, if not, it's alright.
>
> I am not really well versed in the usage of these fonts, so all I can give
> you
> is a few hints. The first thing is that it does not simply suffice to
> enable
> the define BUILD_FREETYPE, so you'll need the library on your system and
> available to your build environment... but you probably know that already.
> The freetype stuff pretty much seems to be done in renderer/tr_fonts.c, so
> you
> should concentrate on that file if you want to know how freetype
> integration
> works. Use a debugger to step through the functions and see what
> everything
> does and you'll quickly grasp what the code already there is doing :)
>
> --
> Thilo Schulz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3/attachments/20070314/b32ae924/attachment.htm>


More information about the quake3 mailing list