[Bugs] #4244 Browse UNSP: Font/images are small on the XO display

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Nov 18 17:32:08 EST 2012


#4244: Font/images are small on the XO display
------------------------------------------+---------------------------------
    Reporter:  dnarvaez                   |          Owner:  manuq                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Browse                     |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 The XO display is very high dpi, so images and fonts from web pages are
 very small.

 I had a look to how hulahop was handling this and it seems pretty similar
 to what window.devicePixelRatio provides these days. webkitgtk doesn't
 provide a way to set it to a custom value, so I'm trying out the following
 patch (takes a while to build especially inside a vm, so I don't have
 results to report yet).

 The hulahop factor was around 1.4.

 --- webkitgtk-1.10.1/Source/WebKit/gtk/webkit/webkitwebview.cpp.orig
 2012-11-18 15:26:53.468318685 -0500
 +++ webkitgtk-1.10.1/Source/WebKit/gtk/webkit/webkitwebview.cpp 2012-11-18
 15:25:50.637418055 -0500
 @@ -3616,6 +3616,7 @@
      pageClients.inspectorClient = new WebKit::InspectorClient(webView);

      priv->corePage = new Page(pageClients);
 +    priv->corePage->setDeviceScaleFactor(2);

  #if ENABLE(GEOLOCATION)
      if (DumpRenderTreeSupportGtk::dumpRenderTreeModeEnabled()) {

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4244>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list