[Commits] [wesnoth/wesnoth] 1f3e14: fix some indentation

GitHub noreply at github.com
Sun Mar 8 00:42:18 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1f3e143204ef34d2df1370603212c52635fc87da
      https://github.com/wesnoth/wesnoth/commit/1f3e143204ef34d2df1370603212c52635fc87da
  Author: Chris Beck <render787 at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M src/font.cpp

  Log Message:
  -----------
  fix some indentation


  Commit: cd54ee0d52de8d68f1ac259cc74b737aeeddaa68
      https://github.com/wesnoth/wesnoth/commit/cd54ee0d52de8d68f1ac259cc74b737aeeddaa68
  Author: Chris Beck <render787 at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M src/font.cpp

  Log Message:
  -----------
  add support for styled fonts outside of SDL TTF in GUI1, help

This commit allows bold and italic font files to be specified in
the fonts.cfg file. When attribute "bold_name" is set to the name
of a font file, this font will be used in place of SDL TTF bold-
styling applied to the base font. Similarly for "italic_name".

This commit assumes that the code points for the styled versions
are the same as for the unstyled version. If that assumption is
not true for some font that we care about then this commit will
likely have to be revised.


  Commit: 21bf262965973ebbe81438108f7819e43270b568
      https://github.com/wesnoth/wesnoth/commit/21bf262965973ebbe81438108f7819e43270b568
  Author: Chris Beck <render787 at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M data/hardwired/fonts.cfg
    A fonts/DejaVuSans-Oblique.ttf

  Log Message:
  -----------
  fix bug 22376: use DejaVuSans-Oblique for italicized characters


  Commit: d4c1a42f8953dbec1c1fe5208d06e32dd839db24
      https://github.com/wesnoth/wesnoth/commit/d4c1a42f8953dbec1c1fe5208d06e32dd839db24
  Author: Chris Beck <render787 at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M data/hardwired/fonts.cfg
    A fonts/DejaVuSans-Bold.ttf

  Log Message:
  -----------
  add DejaVuSans-Bold font style for GUI1, help dialogs


  Commit: b0ed5403fee2be3f979509ff3f1b1dedc3f1bc31
      https://github.com/wesnoth/wesnoth/commit/b0ed5403fee2be3f979509ff3f1b1dedc3f1bc31
  Author: Chris Beck <render787 at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M src/font.cpp

  Log Message:
  -----------
  refactor the get_font mechanism

with ideas from aquileia


  Commit: 8e4ead95dfa19da3c30739ee95dfcd78d4b983e5
      https://github.com/wesnoth/wesnoth/commit/8e4ead95dfa19da3c30739ee95dfcd78d4b983e5
  Author: Chris Beck <render787 at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M src/font.cpp

  Log Message:
  -----------
  refactor add_font_to_fontlist function


  Commit: 0c8d66ec0d893d328e59043e7b4e5111cf036608
      https://github.com/wesnoth/wesnoth/commit/0c8d66ec0d893d328e59043e7b4e5111cf036608
  Author: Chris Beck <render787 at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M src/font.cpp

  Log Message:
  -----------
  avoid repeatedly opening the same font file

this is a small optimization


  Commit: 1bc74718222181127454fb42794b64c20b9fe9f7
      https://github.com/wesnoth/wesnoth/commit/1bc74718222181127454fb42794b64c20b9fe9f7
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2015-03-07 (Sat, 07 Mar 2015)

  Changed paths:
    M data/hardwired/fonts.cfg
    A fonts/DejaVuSans-Bold.ttf
    A fonts/DejaVuSans-Oblique.ttf
    M src/font.cpp

  Log Message:
  -----------
  Merge pull request #382 from cbeck88/font_family

add support for styled font families in GUI1, help dialogs


Compare: https://github.com/wesnoth/wesnoth/compare/1edeff4ee248...1bc747182221


More information about the Commits mailing list