cache multiple loaded instances of the same font (TODO: can we also cache the freetyp...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Jan 2011 19:09:48 +0000 (19:09 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Jan 2011 19:09:48 +0000 (19:09 +0000)
commit494fb0738e541883371b17f31c2a94471476c6f5
treee2b8e6df7e79b70fa721273a1db282dfe68e2f3d
parent97cda4b5ece4358bc99c7e6ddaa99e7fcc4c5e19
cache multiple loaded instances of the same font (TODO: can we also cache the freetype object itself? probably not without major changes, as these are size specific); saves about 150M memory use in Xonotic

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10715 d7cf8633-e32d-0410-b094-e92efae38249
ft2.c
ft2.h
ft2_fontdefs.h