[Commits] [wesnoth/wesnoth] e552b5: Add DejaVu Sans Mono font, version 2.35

GitHub noreply at github.com
Sat May 30 23:30:43 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e552b5715bc4bea14d444dc5228803960ec903e8
      https://github.com/wesnoth/wesnoth/commit/e552b5715bc4bea14d444dc5228803960ec903e8
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-05-30 (Sat, 30 May 2015)

  Changed paths:
    A fonts/DejaVuSansMono-Bold.ttf
    A fonts/DejaVuSansMono.ttf

  Log Message:
  -----------
  Add DejaVu Sans Mono font, version 2.35

Same license terms as the other DejaVu Sans fonts. We won't need
italics or the codepoint-wise GUI1 configuration for now.


  Commit: 4265527a90f6faad15175d646713f5a849843518
      https://github.com/wesnoth/wesnoth/commit/4265527a90f6faad15175d646713f5a849843518
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-05-30 (Sat, 30 May 2015)

  Changed paths:
    M data/hardwired/fonts.cfg
    M src/font.cpp
    M src/font.hpp
    A src/font_options.hpp
    M src/text.cpp
    M src/text.hpp

  Log Message:
  -----------
  ttext: Add support for selecting monospace font family

This selects DejaVu Sans Mono instead of whatever sans serif font is the
default for the current locale is. I'm not entirely sure what to do to
handle non-Western European languages since this is intended to be used
for displaying code or debug info anyway.

Because I can't be bothered to figure out how the codepoint fallback
works for GUI1, I'm only adding support for using this with the
Pango/Cairo ttext wrapper, which is used by GUI2. I'm also leaving it up
to fontconfig to find the correct font file for the font when selected.
Hopefully this will suffice for now.


  Commit: 20602f12b9588ec2d7ceb32d9b85a77491bdb21c
      https://github.com/wesnoth/wesnoth/commit/20602f12b9588ec2d7ceb32d9b85a77491bdb21c
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-05-30 (Sat, 30 May 2015)

  Changed paths:
    M data/gui/schema.cfg
    M data/schema-gui.cfg
    M src/gui/auxiliary/canvas.cpp
    M src/gui/auxiliary/widget_definition.cpp
    M src/gui/auxiliary/widget_definition.hpp
    M src/gui/widgets/control.cpp

  Log Message:
  -----------
  gui2: Add support for selecting widget and canvas [text] font family

This instruct ttext to use a font family other than the default sans
serif.


  Commit: 34e79d3e337243eb4a1329ff1e0be385c4d24731
      https://github.com/wesnoth/wesnoth/commit/34e79d3e337243eb4a1329ff1e0be385c4d24731
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-05-30 (Sat, 30 May 2015)

  Changed paths:
    M data/gui/default/widget/label_default.cfg
    A data/gui/default/widget/scroll_label_verbatim.cfg
    M data/gui/default/window/wml_error.cfg

  Log Message:
  -----------
  gui2/twml_error: Display the pp/parser output in a monospace font


  Commit: 67b91a6b1820c659cd95177cd1be2eeede1576aa
      https://github.com/wesnoth/wesnoth/commit/67b91a6b1820c659cd95177cd1be2eeede1576aa
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-05-30 (Sat, 30 May 2015)

  Changed paths:
    M data/gui/default/widget/label_default.cfg
    A data/gui/default/widget/scroll_label_verbatim.cfg
    M data/gui/default/window/wml_error.cfg
    M data/gui/schema.cfg
    M data/hardwired/fonts.cfg
    M data/schema-gui.cfg
    A fonts/DejaVuSansMono-Bold.ttf
    A fonts/DejaVuSansMono.ttf
    M src/font.cpp
    M src/font.hpp
    A src/font_options.hpp
    M src/gui/auxiliary/canvas.cpp
    M src/gui/auxiliary/widget_definition.cpp
    M src/gui/auxiliary/widget_definition.hpp
    M src/gui/widgets/control.cpp
    M src/text.cpp
    M src/text.hpp

  Log Message:
  -----------
  Merge branch 'feature/ttext-monospace-family'


Compare: https://github.com/wesnoth/wesnoth/compare/8b0b25ad4f02...67b91a6b1820


More information about the Commits mailing list