Opened 9 years ago

Last modified 9 years ago

#3228 assigned defect

Labyrint set default font

Reported by: earias Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified
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 (4)

comment:1 Changed 9 years 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)

comment:2 Changed 9 years ago by godiard

  • Keywords 12.1.0 added

Should be? We don't include Times New Roman

comment:3 Changed 9 years ago by godiard

  • Owner changed from garycmartin to godiard
  • Status changed from new to assigned

comment:4 Changed 9 years ago by erikos

  • Keywords 12.1.0 removed

Don't handle that in 12.1.0

Note: See TracTickets for help on using tickets.