[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: One True DPI



Le vendredi 20 novembre 2009 à 09:33 -0600, Peter Schultz a écrit : 
> Gnome's font settings do not allow me to go any lower than 50.  I know
> 44 DPI is very low for today's desktop monitors, but it makes for an
> excellent big screen TV.  Shouldn't I be able to set this to 44 if
> that's what my monitor has?

The code at fault is this one:

http://git.gnome.org/cgit/gnome-settings-daemon/tree/plugins/xsettings/gsd-xsettings-manager.c

/* X servers sometimes lie about the screen's physical dimensions, so we
cannot 
* compute an accurate DPI value.  When this happens, the user gets fonts that
 * are too huge or too tiny.  So, we see what the server returns:  if it reports
 * something outside of the range [DPI_LOW_REASONABLE_VALUE,
 * DPI_HIGH_REASONABLE_VALUE], then we assume that it is lying and we use
 * DPI_FALLBACK instead.
 *
 * See get_dpi_from_gconf_or_server() below, and also
 * https://bugzilla.novell.com/show_bug.cgi?id=217790
 */
#define DPI_FALLBACK 96
#define DPI_LOW_REASONABLE_VALUE 50
#define DPI_HIGH_REASONABLE_VALUE 500


Maybe you can request the minimum to be lowered if you have an example
of hardware with such a low resolution. Please file a bug upstream,
against the gnome-settings-daemon component.

Cheers, 
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: