[pkg-fso-commits] [SCM] xf86-video-glamo, SMedia Glamo video driver for X.Org branch, debian, updated. debian/0.0.0+20090224.git703acea1-1-8-gdb406ce

Luca Capello luca at pca.it
Mon May 18 16:46:36 UTC 2009


The following commit has been merged in the debian branch:
commit db406ce26e5e178ac70106584a6e6f64743dba10
Author: Luca Capello <luca at pca.it>
Date:   Mon May 18 18:45:44 2009 +0200

    debian/README.Debian: (Closes: #500626) new file

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..2659898
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,29 @@
+xserver-xorg-video-glamo for Debian
+-----------------------------------
+
+The Glamo X.Org video driver reports to the Xserver the correct DPI
+value based on the display size and resolution.  The following formula
+can be used to calculate the exact DPI value for a given resolution
+(in pixel) and size (in mm):
+
+  resolution * 25.4 / size = DPI
+
+Given that the Openmoko Neo FreeRunner (GTA02) touch screen has a size
+of 2.84" (43mm x 58mm) and a resolution of 480x640 pixels, the above
+formula gives 284x280 DPI values, which are the ones reported by
+xdpyinfo and are very similar to the construction value of 285 DPI.
+
+However, some GTK+ applications can not automatically cope with this
+value and they show big fonts, because UNIX traditionally has used
+lower values, typically 96 DPI, regardless of display size or
+resolution.  The suggested workaround is to specify your preferred
+value in ~/.Xresources:
+
+  Xft.dpi: 96
+
+For more information, check the corresponding Debian bug:
+
+  http://bugs.debian.org/500626
+
+ -- Luca Capello <luca at pca.it>, Mon, 18 May 2009 18:13:16 +0200
+
diff --git a/debian/changelog b/debian/changelog
index 7df7d40..78b1e74 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ xf86-video-glamo (0.0.0+20090224.git703acea1-2) UNRELEASED; urgency=low
     + man/glamo.man comes from xf86-video-fbdev/man/fbdev.man.
     + src/glamo-driver.c comes from xf86-video-fbdev/src/fbdev.c,
       thanks to Cyril Brulebois <kibi at debian.org>.
+  * debian/README.Debian:
+    + document the workaround for big GTK+ fonts (Closes: #500626).
 
  --
 

-- 
xf86-video-glamo, SMedia Glamo video driver for X.Org



More information about the pkg-fso-commits mailing list