Alex Szpakowski
|
6fd3038405
|
Improved clarity/readability of internal OpenGL state shadowing functions
|
2013-04-17 01:06:33 -03:00 |
|
Alex Szpakowski
|
d5aa807747
|
More internal code cleanup
|
2013-03-31 19:02:27 -03:00 |
|
Alex Szpakowski
|
3fcb2201bc
|
Fixed love.graphics.newFont using the wrong texture format when creating its glyph texture
|
2013-03-24 23:43:36 -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
|
b8ec6633ab
|
Fixed love.graphics.printf wrapping when the wrap limit is the same as the text width (issue #558)
|
2013-03-13 00:08:09 -03:00 |
|
Alex Szpakowski
|
d9736ab3ab
|
Removed mipmap support from Font graphics objects
|
2013-02-19 14:21:01 -04:00 |
|
Alex Szpakowski
|
23968d3b4a
|
Fixed image mipmap creation on some systems with buggy video drivers
|
2013-02-17 11:36:17 -04:00 |
|
Alex Szpakowski
|
1945b7975d
|
Cleaned up exception handling code when creating new fonts, spritebatches, and shaders
|
2013-02-14 21:49:11 -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 |
|
rude
|
de8b4d91a5
|
Use GLint when getting GL_GENERATE_MIPMAP.
Using GLboolean caused a stack corruption according to VS2012.
|
2013-01-12 12:53:07 +01: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
|
a6f4a3ab0f
|
Removed names of unused parameters to quiet noisy compilers
|
2013-01-07 07:29:04 -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 |
|
vrld
|
12f714bf74
|
Issue #419: Make font:getWidth(str) account for newlines.
|
2012-07-05 16:15:38 +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 |
|
vrld
|
d4c59d3508
|
Fix issue #406: Empty glyphs cause some ATI cards to crash in Font::addGlyph().
|
2012-04-03 13:55:12 +02:00 |
|
vrld
|
340ee8442d
|
Fix issue #397: printf does not center string correctly.
|
2012-03-22 13:11:35 +01: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 |
|
Bill Meltsner
|
4c5d11d582
|
Backout changeset e90d89c7b9712297c14ba73eda37ec28f25101f9
|
2012-01-08 20:14:27 -06:00 |
|
Bart van Strien
|
5fa0a4cfa3
|
Drastically improve the font scaling quality (issue #321)
Note that it isn't perfect yet, but a lot better.
|
2012-01-08 14:11:40 +01:00 |
|
Bart van Strien
|
864c800e10
|
Fix some warnings
|
2011-12-27 21:25:06 +01:00 |
|
Bart van Strien
|
0aae9684b3
|
Automated formatting fix
|
2011-11-16 11:32:41 +01:00 |
|
vrld
|
7a513e1434
|
Make love::Exception safe(r).
Now allows exceptions of arbitrary length.
Now allows catching a non-reference, i.e. catch(love::Exception e).
|
2011-11-12 21:11: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
|
dc873c24f0
|
Some exception cleanup
|
2011-09-11 22:55:34 +02:00 |
|
Bart van Strien
|
96a5a3e402
|
Catch not just the generic utf8 exception, but a few specific ones as well (bug #244)
|
2011-09-11 12:51:34 +02:00 |
|
Bart van Strien
|
9199f1be5b
|
Catch ALL the utf8 errors (bug #244)
|
2011-09-10 15:34:45 +02:00 |
|
Bart van Strien
|
6e630e8987
|
Fix width for getWrap and catch utf8 decoding errors in getWrap and getSize (issues #230 and #244)
|
2011-09-03 16:22:21 +02: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 |
|
Bart van Strien
|
0d174cfb81
|
Fix compiler warnings
|
2011-08-26 12:48:57 +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 |
|
Bart van Strien
|
b90771d44a
|
Fail gracefully on a utf-8 decoding error (bug #244)
|
2011-06-24 01:18:48 +02:00 |
|
Bill Meltsner
|
79fd4aa180
|
fixing font-related segfault bug, thanks to itsnotabigtruck
--HG--
branch : minor
|
2011-03-10 19:05:05 -05:00 |
|
rude
|
6a2423f104
|
windows.h #defines min/max by default, causing problems with std::[min, max].
--HG--
branch : minor
|
2011-03-09 11:01:40 +01:00 |
|
Bill Meltsner
|
6e2da1f26d
|
added the UTF8-CPP library for unicode support, and added unicode printing support.
--HG--
branch : minor
|
2011-03-06 20:03:46 -05:00 |
|
Bart van Strien
|
2115cf19b9
|
Fixed a couple of compiler warnings in minor branch
--HG--
branch : minor
|
2011-03-06 17:09:38 +01: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 |
|