Commit Graph

43 Commits

Author SHA1 Message Date
Raidho 8572a33880 Prettifyed the code exploiting inheritance rules
added missing comma, added missing `override`

--HG--
branch : minor
2017-02-10 18:36:47 +03:00
Raidho 6ea1ebde9c Data:clone ported to minor
minor tweaks

--HG--
branch : minor
2017-02-10 06:19:53 +03:00
Alex Szpakowski abb72cb813 Happy new year! 🥂
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Alex Szpakowski 8aa6725039 Cleaned up some duplicated pixel format-related code in Font files.
--HG--
branch : minor
2016-12-29 02:45:27 -04:00
Bart van Strien d967a755e5 Make love::Type handle type names
TODO: Fix undefined behaviour in luax_register_type, you can't use a va_list after a reference type

--HG--
branch : dynamiccore2
2016-11-14 21:06:53 +01:00
Bart van Strien c761202486 Build type information on first use (load-time), instead of using a hardcoded list
--HG--
branch : dynamiccore2
2016-11-13 16:38:57 +01:00
Alex Szpakowski a3ff90c94c Cleaned up the GlyphData code. 2016-03-02 22:12:32 -04:00
Alex Szpakowski 46a2e7b85c Happy new year! 🎉 2016-01-01 00:05:06 -04:00
Alex Szpakowski a7e4148869 Merged default into minor
--HG--
branch : minor
2015-01-16 15:47:26 -04:00
Alex Szpakowski c7b45b3505 Updated copyright for the new year 2014-12-31 19:32:43 -04:00
Alex Szpakowski af0371361f Merged default into minor
--HG--
branch : minor
2014-10-18 01:45:02 -03:00
Alex Szpakowski 1108dea696 Updated the error message when invalid UTF-8 strings are used in love.graphics.print and friends to mention UTF-8. 2014-10-06 19:34:11 -03:00
Alex Szpakowski 6dc10cfd15 Merged default into minor
--HG--
branch : minor
2014-04-01 20:46:31 -03:00
Alex Szpakowski 50916825d0 Data::getSize now uses size_t instead of int 2014-03-18 03:50:00 -03:00
Alex Szpakowski 9b593780b1 Removed spaces from love.audio enum strings (resolves issue #733)
--HG--
branch : minor
2014-01-15 04:41:07 -04:00
Alex Szpakowski 3120a0e650 Goodbye 2013, hello 2014! 2014-01-03 17:28:58 -04:00
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