Opened 12 years ago

Closed 12 years ago

#1030 closed defect (fixed)

Fonts wrap on memorize tiles

Reported by: dsd Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Memorize Version: Unspecified
Severity: Unspecified Keywords: r?
Cc: Distribution/OS: Unspecified
Bug Status: Needinfo

Description

Fonts are wrapping on the XO in the default game. When wrapped onto 2 lines, the 2 lines are too big for the tile so you only see the middle bit. This looks bad...

Here's a patch to dynamically find a good font size to prevent wrapping.

Attachments (1)

0001-Prevent-line-wrapping-for-short-labels.patch (3.7 KB) - added by dsd 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by dsd

  • Keywords r? added

comment:2 Changed 12 years ago by alsroot

  • Bug Status changed from Unconfirmed to Needinfo

I've reworked this part entirely
http://git.sugarlabs.org/projects/memorize/repos/mainline/commits/84731cfb87ce932324ca9f1b5a8733225651646d
so, now it doesn't guess font size, just use optimal option

dsd: could you test on XO hw

comment:3 Changed 12 years ago by dsd

yes, great job! Looks great, better results than my version.

comment:4 Changed 12 years ago by alsroot

  • Resolution set to fixed
  • Status changed from new to closed

So, I'm closing this but then.

I'm planing to bump new version when Speak features will be integrated to Memorize

Note: See TracTickets for help on using tickets.