[Bugs] #3436 FotoToon UNSP: Fototoon: font size is wrong in xo

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Jun 7 14:23:13 EDT 2012


#3436: Fototoon: font size is wrong in xo
------------------------------------------+---------------------------------
    Reporter:  godiard                    |          Owner:  humitos                    
        Type:  defect                     |         Status:  accepted                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  FotoToon                   |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  12.1.0, patch              
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by humitos):

  * keywords:  12.1.0 => 12.1.0, patch


Comment:

 I've just uploaded a patch that change the way that fonts are managed.
 This is because "[http://www.cairographics.org/FAQ/#using_pango cairo
 fonts are not designed to be used in production]" and besides we need to
 set the DPI font depending on the screen that the activity is running.

 For example, in my Desktop PC a value of 95 DPI is used and in the XO a
 value of 200 DPI is used. Those values are taken from
 {{{gtk.settings_get_default().get_property('gtk-xft-dpi')}}} but there is
 a problem with this: a value of 200 is too big for the XO display so the
 font is shown too big. This value should be near to 170 / 175 (I got this
 value comparing the 12 points font size in Write activity with the 12
 points font size in FotoToon activity)

 On the other hand, there are some regression issues with this patch. They
 are mentioned on the commit message as well:
  - 'Up' and 'Down' keys do not work to move between text lines
  - The user's cursor is not shown when a globe text is being edited
  - The ability to expand just vertically the globe doesn't work

 So, I'm not sure what I should do with this patch (apply or not until the
 regression issues were fixed) and how to solve the DPI issue.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3436#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list