Sysmonitor Screenlet: some fonts dont work

Bug #1026205 reported by brainpower
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Individual Screenlets
Fix Committed
Undecided
Unassigned

Bug Description

I tried to set "DejaVu Sans Mono" as Font for the text on my Sysmonitor Screenlet and it didn't work...
it kept displaying text with a different font.

I looked it up in its Source Code and found some weird lines "parsing" the font setting
and since I'm fluent in python I could sense, that those lines wont "parse" anything with some spaces correctly...

I've appended a patch with a solution, which is working for me and should work with most fonts...
feel free to use it... or dump it^^

Oh, almost forgot... I've got screenlets 0.1.7~bzr816+20120628043154~precise1 and screenlets-pack-basic 0.1.7~bzr1197+20120627054523~precise1 installed...

Related branches

Revision history for this message
brainpower (brainpower) wrote :
brainpower (brainpower)
description: updated
description: updated
description: updated
brainpower (brainpower)
description: updated
Revision history for this message
Märt Põder (boamaod) wrote :

Fixed it just by removing obsolete stuff. Thanks for pointing out the bug.

Fix itself: http://bazaar.launchpad.net/~indiv-screenlets-dev/indiv-screenlets/trunk/revision/1206

Changed in indiv-screenlets:
status: New → Fix Committed
Revision history for this message
brainpower (brainpower) wrote :

You're welcome ;)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.