[Commits] [wesnoth/wesnoth] 8a9e69: Font/Pango Text: added option for text outline
GitHub
noreply at github.com
Mon Jul 17 08:19:55 UTC 2017
Branch: refs/heads/accelerated_rendering
Home: https://github.com/wesnoth/wesnoth
Commit: 8a9e69efd225b2eda096fff24d895a300fc0b8e6
https://github.com/wesnoth/wesnoth/commit/8a9e69efd225b2eda096fff24d895a300fc0b8e6
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-07-17 (Mon, 17 Jul 2017)
Changed paths:
M src/font/text.cpp
M src/font/text.hpp
Log Message:
-----------
Font/Pango Text: added option for text outline
This removes the need to create outlines with surface blitting as the floating_label impl does.
Note the outline is slightly cut off on the sides. Need to adjust geometry to account for it later.
Commit: 3dc0ca0662d12d609e651e2a99d85564d300e122
https://github.com/wesnoth/wesnoth/commit/3dc0ca0662d12d609e651e2a99d85564d300e122
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-07-17 (Mon, 17 Jul 2017)
Changed paths:
M src/font/text.cpp
M src/font/text.hpp
Log Message:
-----------
Font/Pango Text: minor cleanup
Commit: 159d19bf882c32d94489fc8063c90bc3f68d2905
https://github.com/wesnoth/wesnoth/commit/159d19bf882c32d94489fc8063c90bc3f68d2905
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-07-17 (Mon, 17 Jul 2017)
Changed paths:
M src/sdl/texture.cpp
M src/sdl/texture.hpp
Log Message:
-----------
Some updates to the texture wrapper class
* Made reset() a public function
* Added an assign() function
* Don't try to destroy null textures
* Updated doc comments
I left assign() as just taking an SDL_Texture ptr since having it take a texture ref would be
functionally equivalent to operator=.
Commit: 3b6745c06555f33e41a72a62f14f5da00270c16c
https://github.com/wesnoth/wesnoth/commit/3b6745c06555f33e41a72a62f14f5da00270c16c
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-07-17 (Mon, 17 Jul 2017)
Changed paths:
M src/image.cpp
Log Message:
-----------
Avoid temporary object when creating new textures from disk
Commit: d841d57f6b0d5bc2dfca1717a1d978b7fae37071
https://github.com/wesnoth/wesnoth/commit/d841d57f6b0d5bc2dfca1717a1d978b7fae37071
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-07-17 (Mon, 17 Jul 2017)
Changed paths:
M src/floating_label.cpp
Log Message:
-----------
Floating Labels: use new pango_text functionality for generating text outline
Compare: https://github.com/wesnoth/wesnoth/compare/bf5133bbf6a6...d841d57f6b0d
More information about the Commits
mailing list