[wesnoth-commits] [wesnoth/wesnoth] c198be: Removed the SDL_TTF and GUI1 font rendering API an...
GitHub
noreply at github.com
Mon Mar 26 03:37:24 UTC 2018
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: c198be1fa8c62265e496c135c6ee324404e8dcd9
https://github.com/wesnoth/wesnoth/commit/c198be1fa8c62265e496c135c6ee324404e8dcd9
Author: Charles Dang <exodia339 at gmail.com>
Date: 2018-03-26 (Mon, 26 Mar 2018)
Changed paths:
M data/hardwired/fonts.cfg
M projectfiles/VC14/wesnoth.vcxproj
M projectfiles/VC14/wesnoth.vcxproj.filters
M source_lists/libwesnoth
M src/build_info.cpp
M src/display.cpp
M src/display_chat_manager.cpp
M src/editor/palette/location_palette.cpp
M src/font/font_config.cpp
M src/font/font_config.hpp
R src/font/font_description.hpp
R src/font/font_id.hpp
M src/font/marked-up_text.cpp
M src/font/marked-up_text.hpp
R src/font/sdl_ttf.cpp
R src/font/sdl_ttf.hpp
R src/font/text_cache.cpp
R src/font/text_cache.hpp
R src/font/text_surface.cpp
R src/font/text_surface.hpp
M src/gui/widgets/text_box.cpp
M src/help/help_impl.cpp
M src/help/help_impl.hpp
M src/help/help_topic_generators.cpp
M src/video.cpp
Log Message:
-----------
Removed the SDL_TTF and GUI1 font rendering API and associated functions
This removes all functions related to:
* GUI1 font formatting
* GUI1 font rendering
* Manual text surface size calculations
* The font description interface. While it wasn't exclusive to the TTF rendering system,
it was unused by Pango/Cairo rendering.
A huge chunk of the help browser code was commented out since we don't have font::line_width anymore.
Likewise, a hack was added to the GUI2 text box since we don't have have get_max_height anymore.
font::is_cjk_char was retained (as well as some related helpers) since they might be useful
later.
I'll leave it to someone else to update the CMake/Scons files to remove TTF as a build
dependency.
Commit: c453a97dacce917b957fe10133a6aea1e6cec34a
https://github.com/wesnoth/wesnoth/commit/c453a97dacce917b957fe10133a6aea1e6cec34a
Author: Charles Dang <exodia339 at gmail.com>
Date: 2018-03-26 (Mon, 26 Mar 2018)
Changed paths:
M src/sdl/utils.cpp
M src/sdl/utils.hpp
Log Message:
-----------
Removed custom blit_surface function
Unused now. And we wanted to get rid of it anyway.
Commit: b08fa982600c82e258dfd555c2cf170e0a623539
https://github.com/wesnoth/wesnoth/commit/b08fa982600c82e258dfd555c2cf170e0a623539
Author: Charles Dang <exodia339 at gmail.com>
Date: 2018-03-26 (Mon, 26 Mar 2018)
Changed paths:
M src/editor/palette/tristate_button.cpp
M src/video.cpp
M src/video.hpp
Log Message:
-----------
Removed CVideo::blit_surface
Used to be a surface drawing helper for blitting on the framebuffer surface.
I made it work with accelerated rendering by forwarding it to render_copy,
but we don't need it anymore. All but one of its usecases have been removed.
Commit: 8b6270f92f178ad10189a278ab19b8405dfa1eea
https://github.com/wesnoth/wesnoth/commit/8b6270f92f178ad10189a278ab19b8405dfa1eea
Author: Charles Dang <exodia339 at gmail.com>
Date: 2018-03-26 (Mon, 26 Mar 2018)
Changed paths:
M src/editor/palette/location_palette.cpp
M src/help/help_impl.cpp
Log Message:
-----------
Fix some unused parameter warnings caused by recent commits
Compare: https://github.com/wesnoth/wesnoth/compare/ab67b402d144...8b6270f92f17
More information about the Commits
mailing list