Re: msevior - r24254 - abiword/branches/ABI-2-6-0-STABLE/src/af/gr/unix

From: J.M. Maurer <uwog_at_uwog.net>
Date: Mon Jun 16 2008 - 13:56:46 CEST

>
> Modified: abiword/branches/ABI-2-6-0-STABLE/src/af/gr/unix/gr_UnixPangoGraphics.cpp
> ===================================================================
> --- abiword/branches/ABI-2-6-0-STABLE/src/af/gr/unix/gr_UnixPangoGraphics.cpp 2008-06-14 19:32:35 UTC (rev 24253)
> +++ abiword/branches/ABI-2-6-0-STABLE/src/af/gr/unix/gr_UnixPangoGraphics.cpp 2008-06-15 00:49:14 UTC (rev 24254)
> @@ -455,7 +455,10 @@
> #ifdef HAVE_PANGOFT2
> else
> {
> - m_iDeviceResolution = 72;
> + //
> + // Hardcode the device resolution to what gtk-X11 returns
> + //
> + m_iDeviceResolution = 96;
> m_pFontMap = pango_ft2_font_map_new ();
> pango_ft2_font_map_set_resolution(reinterpret_cast<PangoFT2FontMap*>(m_pFontMap),
> m_iDeviceResolution,

This looks equally bad to me. My X at work for example returns 89. My X
at home seems to return 96.

  Marc
Received on Mon Jun 16 13:57:11 2008

This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 13:57:11 CEST