Commit Graph

27 Commits

Author SHA1 Message Date
Alex Szpakowski 98b258b75f Fixed font textures in OpenGL returning black RGB values when a shader is active (reverts changeset 69b0b4e) 2013-12-31 22:09:04 -04:00
Alex Szpakowski 90f4dea4ab The TrueType rasterizer now properly recognizes the monochrome bitmap pixel mode for glyphs (resolves issue #818) 2013-12-31 21:32:58 -04:00
Alex Szpakowski f3bd944cf5 Reduced the RAM and VRAM space taken up by TrueType font glyphs by 1/2. 2013-12-31 20:15:55 -04:00
Alex Szpakowski 6281d60b8c Fixed compilation in visual studio 2013-06-18 17:31:47 -03:00
Alex Szpakowski 76618f0328 Cleaned up font code to always use uint32 instead of the slightly more ambiguous "unsigned int" for codepoints 2013-06-16 19:48:53 -03:00
Alex Szpakowski d48d1fd441 Exposed the internal Rasterizer and GlyphData object methods to Lua. Also added Font:hasGlyph. 2013-06-16 07:36:18 -03:00
Alex Szpakowski 668a1bfa6d Silenced some compiler warnings 2013-02-09 21:24:41 -04:00
Alex Szpakowski 96161c66f6 Updated copyright text for the new year 2013-02-05 05:32:49 -04:00
Alex Szpakowski 022f549554 Use unsigned ints instead of unsigned shorts to represent UTF8 font glyphs 2013-01-22 23:43:35 -04:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
rude 81c38e22d0 Applied the new style guidelines.
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bart van Strien 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
Bill Meltsner 9d38cba626 brutally murdered padding and predefined glyph loading
--HG--
branch : newfont
2011-03-05 23:37:36 -05:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
Bill Meltsner 37baf32374 changed LUMINOSITY_ALPHA to LUMINANCE_ALPHA (more consistent with opengl's phrasing) 2010-11-09 19:07:51 -05:00
Bart van Strien 2b273c0081 Hopefully fixed more memory leakage in fonts 2010-09-18 10:07:52 +02:00
Bill Meltsner 046f2a3084 Fixed some bugs with font drawing and reverted the display list change - it was causing problems with multiple fonts 2010-08-28 11:42:37 -05:00
Bill Meltsner e937ab2d68 fixed gcc warnings with regard to initialization order in GlyphData 2010-08-26 10:36:07 -05:00
Bart van Strien b3799b52e6 Fixed anjo's freeing issues & hopefully padding works 2010-08-26 17:25:34 +02:00
Bill Meltsner 6c456ea93b fixed scalar vs. vector delete issue in GlyphData::pad 2010-08-25 17:54:19 -05:00
Bill Meltsner c06d5c3263 hopefully padded fonts so that people with crappy graphics cards can still see them - this needs testing, though 2010-08-19 13:41:19 -05:00
Bill Meltsner f8f812a719 did a bunch of other stuff, sorry about the monolithic changeset but the diffs should be understandable enough 2010-04-15 10:19:01 -04:00
Bill Meltsner e3a5aacd5a Overhauled ImageRasterizer, fixed a bunch of other crap, getting ready to poke around in love.graphics 2010-04-14 21:51:35 -04:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude 477d5a05b8 Updated love.font, and added Glyph object in love.graphics. 2009-07-30 21:43:00 +02:00
michaee 74190255ed Added basic (unfinished and untested) font module. 2009-07-28 20:22:48 +02:00