[wesnoth-commits] [wesnoth/wesnoth] 012069: If text is too long to render, fall back to line-b...

Steve Cotton noreply at github.com
Sun Aug 18 05:23:00 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 012069440e9976461ae2fc98937c080d7c44671b
      https://github.com/wesnoth/wesnoth/commit/012069440e9976461ae2fc98937c080d7c44671b
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-08-18 (Sun, 18 Aug 2019)

  Changed paths:
    M changelog.md
    M src/font/text.cpp
    M src/font/text.hpp
    M src/serialization/string_utils.cpp
    M src/serialization/string_utils.hpp

  Log Message:
  -----------
  If text is too long to render, fall back to line-by-line (fixes: #3265)

This still requires a huge surface to render all of the text on to,
but is an easier fix than redesigning the credits screen.

This removes the only caller of utils::vertical_split, which is why
that utility function is also removed.





More information about the Commits mailing list