Ticket #3228 (assigned defect)

Opened 19 months ago

Last modified 11 months ago

Labyrint set default font

Reported by: earias Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Labyrinth Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

When activity starts, the font default isn't Times New Roman.

Change History

Changed 19 months ago by earias

--- a/labyrinthactivity.py
+++ b/labyrinthactivity.py
@@ -219,7 +219,9 @@ class TextAttributesToolbar(gtk.Toolbar):

pango_font = pango.FontDescription(font.get_name())
font_name = pango_font.to_string()
fonts_combo_box.append_text(font_name)

- if font_name == 'Times New' or font_name == 'Times New Roman':
+ if font_name == 'Times New' or \
+ font_name == 'Times New Roman' or \
+ font_name == 'Sans':

index_tnr = index

if index_tnr == -1:

fonts_combo_box.set_active(0)

Changed 13 months ago by godiard

  • keywords 12.1.0 added

Should be? We don't include Times New Roman

Changed 13 months ago by godiard

  • owner changed from garycmartin to godiard
  • status changed from new to assigned

Changed 11 months ago by erikos

  • keywords 12.1.0 removed

Don't handle that in 12.1.0

Note: See TracTickets for help on using tickets.