[Bugs] #4758 Sugar UNSP: sugar 0.102: big fonts in xo

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Apr 7 19:00:46 EDT 2014


#4758: sugar 0.102: big fonts in xo
----------------------------------------+-------------------------------
  Reporter:  godiard                    |            Owner:  godiard
      Type:  defect                     |           Status:  new
  Priority:  Unspecified by Maintainer  |        Milestone:  0.102.0
 Component:  Sugar                      |          Version:  Unspecified
  Severity:  Major                      |       Resolution:
  Keywords:                             |  Distribution/OS:  Unspecified
Bug Status:  Unconfirmed                |
----------------------------------------+-------------------------------
\
\
\
\
\
\

Comment (by tch):

 Here are my finding,

 To change configuration values to match sugar-build you can follow these
 steps:

 {{{
 $cd /usr/share/glib-2.0/schemas

 $vi olpc.gschema.override

     [org.gnome.desktop.interface]
     text-scaling-factor=1.0

 $vi sugar.gschema.override

     [org.sugarlabs.font]
     default-face='Sans Serif'
     default-size=10

 $glib-compile-schemas .

 $gsettings get org.gnome.desktop.interface text-scaling-factor
 $gsettings get org.sugarlabs.font default-face
 $gsettings get org.sugarlabs.font default-size
 }}}

 After doing that, you will notice that the size of the text is just still
 the same size (BIG). But, if you change default-size=7 it will look OK.

 If you did these steps on the build I provided [1], you will notice 2
 things:

 First, is that the 2.1 values comes from the override
 {{{
 $vi olpc.gschema.override

     [org.gnome.desktop.interface]
     # GNOME hardcodes DPI to 96, so we multiply the default scaling by 2.1
 to
     # hit our DPI (201) and get appropriately sized fonts.
     # Cantarell appears to scale badly in comparison to other fonts,
 deviating
     # largely from the point scale. So switch the default font from
 Cantarell
     # to Sans to match the rest of the desktop.
     text-scaling-factor=2.1
 }}}

 Second, is that the default font is not Sugar's default.

 {{{
 $vi sugar.gschema.override

     [org.sugarlabs.font]
     default-face='abc123'
 }}}

 Refs:
 1. http://wiki.sugarlabs.org/go/0.102/Testing
\
\
\

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


More information about the Bugs mailing list