Opened 8 years ago

Closed 6 years ago

#9889 closed Bug Report - General (Unverified)

MythArchive menu screens: misplaced punctuation and numbers

Reported by: J.Pilk@… Owned by:
Priority: minor Milestone: unknown
Component: Plugin - MythArchive Version: 0.24.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Punctuation marks and numbers that should be at the end of a line on the menu screen are shown at the beginning. This doesn't affect operation but ought to offend stylists. It's been like this 'forever'.

Sample extract from mythburn.log:

Wrapped text = Page 1
Image (146, 110) into space of (155, 120) at (55, 50)
Image resized to (155, 120) at (55, 50)
Added image /usr/share/mythtv/mytharchive/themes/MythCenter_-_Animated/preview-frame.png
Wrapped text = Guilty Pleasures
Wrapped text = ?Luxury in Ancient Greece: Nothing in Excess
Wrapped text = Tue 2011-06-28 00:45
Wrapped text = ,Documentary looking at the concept of luxury in ancient Greece
Wrapped text = from its role in democracy's origins in Athens to its denial in
Wrapped text = .Sparta

The wrapping is done in mythburn.py by:

def intelliDraw(drawer, text, font, containerWidth):

"""Based on http://mail.python.org/pipermail/image-sig/2004-December/003064.html"""

which has been modified from the reference quoted and includes a FIXME note.

Change History (5)

comment:1 Changed 7 years ago by beirdo

Component: MythTV - GeneralPlugin - MythArchive
Owner: set to paulh

comment:2 Changed 7 years ago by paulh

Owner: paulh deleted
Status: newassigned

comment:3 Changed 7 years ago by J.Pilk@…

See the attachments to http://code.mythtv.org/trac/ticket/10435 to see how it appears.

comment:4 Changed 6 years ago by J.Pilk@…

It seems that this is no longer happening in 0.26-fixes. I haven't tried to find out why, but thanks!

comment:5 Changed 6 years ago by sphery

Resolution: Unverified
Status: assignedclosed

Closing at submitter's request.

Thanks for re-testing and letting us know it was fixed, John.

Note: See TracTickets for help on using tickets.