Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04:00
Alex Szpakowski
aa69a695d3
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782 ).
...
Canvases and Images are now subclasses of the new Texture class.
Added setTexture and getTexture methods for Meshes, ParticleSystems, and SpriteBatches (the old set/getImage methods are deprecated but not removed.)
Canvas texture coordinates are no longer flipped.
2014-01-03 17:07:12 -04:00
Alex Szpakowski
2ee869b0e8
Fixed some compiler warnings
2013-12-07 05:07:54 -04:00
Alex Szpakowski
4e321697d3
Renamed Font:hasGlyph to Font:hasGlyphs, and expanded it to accept multiple arguments and full strings. Resolves issue #762 .
2013-10-25 21:56:32 -03:00
Alex Szpakowski
5de43a7207
The Vertex struct is now recognized as POD by C++, also fixed the name to be consistent with other love structs
2013-09-24 11:09:18 -03:00
Alex Szpakowski
8d5ddb9e34
Fixed some internal documentation (thanks to clang's -Wdocumentation)
2013-09-23 21:52:28 -03:00
Alex Szpakowski
91e4feeca0
Fixed justify AlignMode
2013-07-10 20:36:20 -03:00
Alex Szpakowski
8b261abfdc
Slightly improved performance and cleaned up code a bit for love.graphics.print
2013-06-26 20:21:08 -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
d5aa807747
More internal code cleanup
2013-03-31 19:02:27 -03:00
Alex Szpakowski
2009124cf9
Reworked internal anisotropic filtering code to be more concise and intuitive
2013-03-21 12:21:13 -03:00
Alex Szpakowski
25d6700361
Moved anisotropic filtering to Image:setFilter(min, mag, anisotropy), added anisotropic filtering support to canvases and fonts
2013-03-20 23:23:26 -03:00
Alex Szpakowski
d9736ab3ab
Removed mipmap support from Font graphics objects
2013-02-19 14:21:01 -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
32684b674e
Add Font:getAscent/getDescent/getBaseline (issue #445 )
2013-01-18 13:20:40 +01:00
Alexander Szpakowski
36c5259e12
Font objects now have mipmap filter and mipmap sharpness support
2013-01-07 16:31:48 -04:00
Alexander Szpakowski
e5388ff73b
Removed more unnecessary tabs in blank lines
2013-01-07 07:11:40 -04:00
Alexander Szpakowski
1678252b7a
Applied patch from issue #542 (texture filtering inconsistencies) in main LÖVE repository
2013-01-01 21:29:38 -04:00
Alexander Szpakowski
a8dc813258
Text drawing performance improvements (issue #532 )
2012-12-15 22:18:40 +01:00
vrld
6d02057864
Close issue #408 : printf-justify alignment.
...
Add letter_spacing argument to Font::print(). Might be worth to expose to Lua
at some point. Justify alignment may result in mushy/blurred glyphs.
2012-07-08 13:37:09 +02: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
Bart van Strien
2ac4a9e6d0
Manually keep track of bound textures, so we don't have to poll each frame
...
Patch submitted by slime73.
2012-01-10 15:36:18 +01:00
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bill Meltsner
21516fc658
Add padding around every glyph in a Font texture, fixing the fringing seen with scaled text (actually fixes issue #321 )
2012-01-08 20:59:52 -06:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
Bart van Strien
49ec65dbf3
Oops, didn't have a clean tree
2011-11-05 23:17:32 +01:00
Bart van Strien
d8666202cd
Improve compatibility check (I still can't believe robin was right)
2011-11-05 22:07:15 +01:00
Bart van Strien
190e11d016
Move wrapping to Font::getWrap and make printf use that (fixes issue #230 )
2011-09-03 14:31:31 +02:00
vrld
d420d68048
Add shear transformation and transform object (issue #152 ).
...
Add origin parameters to love.graphics.print.
New shear parameters kx,ky for:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print,
- SpriteBatch:add,
- SpriteBatch:addq.
Transform objects apply to:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print.
2011-07-05 14:33:34 +02:00
Bill Meltsner
cbff71d089
New font engine is implemented and appears to work perfectly. Bugs may be discovered and the internals can certainly be optimized and improved (at some point, perhaps, a less naive packing algorithm would be nice) but for now, it's good to go.
...
--HG--
branch : newfont
2011-03-06 05:02:35 -05:00
Bill Meltsner
9d38cba626
brutally murdered padding and predefined glyph loading
...
--HG--
branch : newfont
2011-03-05 23:37:36 -05:00
Bill Meltsner
94b4319878
trashed old unnecessary font stuff - compiles, but obviously will not work yet
...
--HG--
branch : newfont
2011-03-05 23:17: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
vrld
e3067ff33d
Fix issue #136 - Filter for Imagefonts.
2011-01-07 14:08:10 +01:00
vrld
28df1edf03
Code cleanup: remove unnecessary `print' routines
2011-01-02 22:58:53 +01:00
Bill Meltsner
500e0f1417
image fonts now print from the upper left like truetype fonts do ( fixes #100 )
2010-11-09 19:29:00 -05:00
Bill Meltsner
2cc3fb4715
Fonts now handle resolution changes properly
2010-08-24 14:12:12 -05:00
Bill Meltsner
34ac035c1b
converted Font drawing to use display lists - should increase draw speed
2010-08-23 21:24:16 -05:00
bart@bartbes.ath.cx
0188572124
Added maxwidth, lines = font:getWrap(string, wrap) by feature request
2010-06-12 15:35:54 +02:00
Bill Meltsner
de6c8fd704
fonts now work (seemingly) as well as they used to
2010-04-15 14:04:16 -04: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
c52c218ba1
Renamed Frame to Quad; added drawq/addq; fixed some bugs.
2009-08-17 23:35:04 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00