Bug#503933: iceweasel: Some text is not displayed w/ invalid display dpi

2009-06-03 Thread Petr Baudis
Package: iceweasel
Version: 3.0.9-1
Severity: major


This severely impedes the usability of the browser. This recently
started happenning to me as well; one thing that might possibly
connected is that I switched to fglrx; unfortunately, I currently have
no easy way to verify if switching back to radeon fixes the issue
again. Nevertheless, vanilla firefox-3.0.10 shows the text fine (using
the same profile).

Digging into this further, simply absolute-sized text is not shown, so
trivial testcase is:

visible span style=font-size: 8ptinvisible/span


xdpyinfo reports:

  resolution:-2147483648x-2147483648 dots per inch

So fglrx reports broken dpi information about the display. This looks
like a fglrx bug, but upstream firefox still deals with it fine. I guess
Debian uses a patch that does something smart based on the dpi
information; in that case, it should guard against obviously bogus dpi.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  debianutils   3.1.3  Miscellaneous utilities specific t
ii  fontconfig2.6.0-3generic font configuration library
ii  libc6 2.9-12 GNU C Library: Shared libraries
ii  libglib2.0-0  2.20.1-2   The GLib library of C routines
ii  libgtk2.0-0   2.16.1-2   The GTK+ graphical user interface 
ii  libnspr4-0d   4.7.4-3NetScape Portable Runtime Library
ii  libstdc++64.4.0-5The GNU Standard C++ Library v3
ii  procps1:3.2.7-11 /proc file system utilities
ii  psmisc22.7-1 utilities that use the proc file s
ii  xulrunner-1.9 1.9.0.7-1  XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
pn  latex-xft-fonts  none  (no description available)
ii  libkrb53 1.6.dfsg.4~beta1-13 Transitional library package/krb4 
pn  mozplugger   none  (no description available)
pn  ttf-mathematica4.1   none  (no description available)
pn  xfonts-mathmlnone  (no description available)
pn  xprint   none  (no description available)
pn  xulrunner-1.9-gnome- none  (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Alexander Toresson
Package: iceweasel
Version: 3.0.3-2
Severity: normal

Hello,

Since some time back Iceweasel on my system does not display some text
inside webpages at all. I tried starting it in safe mode, and that
didn't fix it. However, it works in upstream's Firefox 3.0.3. This has
worked before in Iceweasel 3.0.x; some recent update broke it. An
example of a page that is affected is:

http://www.cs.lth.se/Education/natfak/

On this page, there is no text displayed at all (except text that 'really
is an image').

On other pages, some text is displayed while other text is not, however.
On most pages, all text is displayed.

// Alexander

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (499, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  debianutils   2.30   Miscellaneous utilities specific t
ii  fontconfig2.6.0-1generic font configuration library
ii  libc6 2.7-14 GNU C Library: Shared libraries
ii  libgcc1   1:4.3.2-1  GCC support library
ii  libglib2.0-0  2.16.6-1   The GLib library of C routines
ii  libgtk2.0-0   2.12.11-4  The GTK+ graphical user interface 
ii  libnspr4-0d   4.7.1-4NetScape Portable Runtime Library
ii  libstdc++64.3.2-1The GNU Standard C++ Library v3
ii  procps1:3.2.7-8  /proc file system utilities
ii  psmisc22.6-1 Utilities that use the proc filesy
ii  xulrunner-1.9 1.9.0.3-1  XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  latex-xft-fonts   0.1-8  Xft-compatible versions of some La
ii  libkrb53  1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
pn  mozpluggernone (no description available)
pn  ttf-mathematica4.1none (no description available)
pn  xfonts-mathml none (no description available)
pn  xprintnone (no description available)
ii  xulrunner-1.9-gnome-s 1.9.0.3-1  Support for GNOME in xulrunner app

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Alexander Toresson
On Wed, Oct 29, 2008 at 1:55 PM, Mike Hommey [EMAIL PROTECTED] wrote:
 On Wed, Oct 29, 2008 at 01:42:09PM +0100, Alexander Toresson [EMAIL 
 PROTECTED] wrote:
 Package: iceweasel
 Version: 3.0.3-2
 Severity: normal

 Hello,

 Since some time back Iceweasel on my system does not display some text
 inside webpages at all. I tried starting it in safe mode, and that
 didn't fix it. However, it works in upstream's Firefox 3.0.3. This has
 worked before in Iceweasel 3.0.x; some recent update broke it. An
 example of a page that is affected is:

 http://www.cs.lth.se/Education/natfak/

 On this page, there is no text displayed at all (except text that 'really
 is an image').

 On other pages, some text is displayed while other text is not, however.
 On most pages, all text is displayed.

 Can you try http://glandium.org/blog/?p=209 ?

 Mike


I already had xulrunner-1.9 of the same version installed, so I just
installed the custom libcairo2 package. Still with it, the same
problem manifests itself. (After restarting iceweasel, of course).
I also tried using the nv Xorg driver instead of the nvidia driver to
see if that would help. It didn't.

A few more details about my setup:

I'm running Xfce from svn trunk (shouldn't make any difference), and
I'm using its composite manager (could perhaps make a difference). I
tried turning it off, didn't make any difference, though xcomposite is
still enabled, of course. If you think it's worth it I could try
disabling it.

Also, I'm normally using version 173.14.09-5 of the nvidia driver, but
as the test with using nv instead indicates, it's not related to the
Xorg video driver.

// Alexander



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Mike Hommey
On Wed, Oct 29, 2008 at 01:42:09PM +0100, Alexander Toresson [EMAIL 
PROTECTED] wrote:
 Package: iceweasel
 Version: 3.0.3-2
 Severity: normal
 
 Hello,
 
 Since some time back Iceweasel on my system does not display some text
 inside webpages at all. I tried starting it in safe mode, and that
 didn't fix it. However, it works in upstream's Firefox 3.0.3. This has
 worked before in Iceweasel 3.0.x; some recent update broke it. An
 example of a page that is affected is:
 
 http://www.cs.lth.se/Education/natfak/
 
 On this page, there is no text displayed at all (except text that 'really
 is an image').
 
 On other pages, some text is displayed while other text is not, however.
 On most pages, all text is displayed.

Can you try http://glandium.org/blog/?p=209 ?

Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Mike Hommey
On Wed, Oct 29, 2008 at 02:11:16PM +0100, Alexander Toresson [EMAIL 
PROTECTED] wrote:
 On Wed, Oct 29, 2008 at 1:55 PM, Mike Hommey [EMAIL PROTECTED] wrote:
  On Wed, Oct 29, 2008 at 01:42:09PM +0100, Alexander Toresson [EMAIL 
  PROTECTED] wrote:
  Package: iceweasel
  Version: 3.0.3-2
  Severity: normal
 
  Hello,
 
  Since some time back Iceweasel on my system does not display some text
  inside webpages at all. I tried starting it in safe mode, and that
  didn't fix it. However, it works in upstream's Firefox 3.0.3. This has
  worked before in Iceweasel 3.0.x; some recent update broke it. An
  example of a page that is affected is:
 
  http://www.cs.lth.se/Education/natfak/
 
  On this page, there is no text displayed at all (except text that 'really
  is an image').
 
  On other pages, some text is displayed while other text is not, however.
  On most pages, all text is displayed.
 
  Can you try http://glandium.org/blog/?p=209 ?
 
  Mike
 
 
 I already had xulrunner-1.9 of the same version installed, so I just
 installed the custom libcairo2 package. Still with it, the same
 problem manifests itself. (After restarting iceweasel, of course).
 I also tried using the nv Xorg driver instead of the nvidia driver to
 see if that would help. It didn't.
 
 A few more details about my setup:
 
 I'm running Xfce from svn trunk (shouldn't make any difference), and
 I'm using its composite manager (could perhaps make a difference). I
 tried turning it off, didn't make any difference, though xcomposite is
 still enabled, of course. If you think it's worth it I could try
 disabling it.
 
 Also, I'm normally using version 173.14.09-5 of the nvidia driver, but
 as the test with using nv instead indicates, it's not related to the
 Xorg video driver.

What happens if you change Page Style in the Edit menu to No style ?

Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Alexander Toresson
On Wed, Oct 29, 2008 at 2:23 PM, Mike Hommey [EMAIL PROTECTED] wrote:
 On Wed, Oct 29, 2008 at 02:11:16PM +0100, Alexander Toresson [EMAIL 
 PROTECTED] wrote:
 On Wed, Oct 29, 2008 at 1:55 PM, Mike Hommey [EMAIL PROTECTED] wrote:
  On Wed, Oct 29, 2008 at 01:42:09PM +0100, Alexander Toresson [EMAIL 
  PROTECTED] wrote:
  Package: iceweasel
  Version: 3.0.3-2
  Severity: normal
 
  Hello,
 
  Since some time back Iceweasel on my system does not display some text
  inside webpages at all. I tried starting it in safe mode, and that
  didn't fix it. However, it works in upstream's Firefox 3.0.3. This has
  worked before in Iceweasel 3.0.x; some recent update broke it. An
  example of a page that is affected is:
 
  http://www.cs.lth.se/Education/natfak/
 
  On this page, there is no text displayed at all (except text that 'really
  is an image').
 
  On other pages, some text is displayed while other text is not, however.
  On most pages, all text is displayed.
 
  Can you try http://glandium.org/blog/?p=209 ?
 
  Mike
 

 I already had xulrunner-1.9 of the same version installed, so I just
 installed the custom libcairo2 package. Still with it, the same
 problem manifests itself. (After restarting iceweasel, of course).
 I also tried using the nv Xorg driver instead of the nvidia driver to
 see if that would help. It didn't.

 A few more details about my setup:

 I'm running Xfce from svn trunk (shouldn't make any difference), and
 I'm using its composite manager (could perhaps make a difference). I
 tried turning it off, didn't make any difference, though xcomposite is
 still enabled, of course. If you think it's worth it I could try
 disabling it.

 Also, I'm normally using version 173.14.09-5 of the nvidia driver, but
 as the test with using nv instead indicates, it's not related to the
 Xorg video driver.

 What happens if you change Page Style in the Edit menu to No style ?

 Mike


Then the text is displayed.

// Alexander



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Mike Hommey
On Wed, Oct 29, 2008 at 02:29:55PM +0100, Alexander Toresson [EMAIL 
PROTECTED] wrote:
 Then the text is displayed.

Is pango-graphite installed on your system?

Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Alexander Toresson
On Wed, Oct 29, 2008 at 2:38 PM, Mike Hommey [EMAIL PROTECTED] wrote:

 Is pango-graphite installed on your system?

 Mike


No, it's not, and installing it didn't make any difference, except
that spaces between words between very big (o.O).

In any case, I decided to investigate this and strip down a page to
the smallest one that would still have the problem, and got quite
surprised by the results. I had expected the problem to manifest
itself with a specific font. Instead, the problem showed when some
text had a font-size attribute set, whose unit was pt or cm. px, %, or
literals like x-large didn't cause the problem. Here's the resulting
page that has the problem:

html
head
style TYPE=text/css
body {font-size:10pt;}
/style
/head
body
Hej hej paring; dig min vauml;n
/body
/html

pt and cm units depend on DPI, right? Could it be that iceweasel
detects the dpi as 0? Even setting font-size to 1000pt doesn't make
any difference.

I tried setting a minimum size for text, but that didn't make any difference.

My DPI is set correctly:
$ xdpyinfo |grep resolution
  resolution:96x96 dots per inch

// Alexander



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Mike Hommey
On Wed, Oct 29, 2008 at 05:31:31PM +0100, Alexander Toresson wrote:
 On Wed, Oct 29, 2008 at 2:38 PM, Mike Hommey [EMAIL PROTECTED] wrote:
 
  Is pango-graphite installed on your system?
 
  Mike
 
 
 No, it's not, and installing it didn't make any difference, except
 that spaces between words between very big (o.O).
 
 In any case, I decided to investigate this and strip down a page to
 the smallest one that would still have the problem, and got quite
 surprised by the results. I had expected the problem to manifest
 itself with a specific font. Instead, the problem showed when some
 text had a font-size attribute set, whose unit was pt or cm. px, %, or
 literals like x-large didn't cause the problem. Here's the resulting
 page that has the problem:
 
 html
 head
 style TYPE=text/css
 body {font-size:10pt;}
 /style
 /head
 body
 Hej hej paring; dig min vauml;n
 /body
 /html
 
 pt and cm units depend on DPI, right? Could it be that iceweasel
 detects the dpi as 0? Even setting font-size to 1000pt doesn't make
 any difference.
 
 I tried setting a minimum size for text, but that didn't make any difference.
 
 My DPI is set correctly:
 $ xdpyinfo |grep resolution
   resolution:96x96 dots per inch

If you open about:config in iceweasel and search for layout.css.dpi,
what is its value? What if you try setting it to 96?

Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Alexander Toresson
On Wed, Oct 29, 2008 at 6:04 PM, Mike Hommey [EMAIL PROTECTED] wrote:

 If you open about:config in iceweasel and search for layout.css.dpi,
 what is its value? What if you try setting it to 96?

 Mike


Ah, it was set to 0! Setting it to 96 fixed the problem. Why does
iceweasel have its own dpi setting anyway?

I may have altered the DPI setting in older versions of
iceweasel/firefox, however, and if so, it was to make the font sizes
consistent with the rest of the system. It does not seem to be
possible to set the DPI through the settings dialog in 3.0.x, though.

// Alexander



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503933: iceweasel: Some text is not displayed

2008-10-29 Thread Mike Hommey
On Wed, Oct 29, 2008 at 06:16:30PM +0100, Alexander Toresson wrote:
 On Wed, Oct 29, 2008 at 6:04 PM, Mike Hommey [EMAIL PROTECTED] wrote:
 
  If you open about:config in iceweasel and search for layout.css.dpi,
  what is its value? What if you try setting it to 96?
 
  Mike
 
 
 Ah, it was set to 0! Setting it to 96 fixed the problem. Why does
 iceweasel have its own dpi setting anyway?
 
 I may have altered the DPI setting in older versions of
 iceweasel/firefox, however, and if so, it was to make the font sizes
 consistent with the rest of the system. It does not seem to be
 possible to set the DPI through the settings dialog in 3.0.x, though.

0 is supposed to detect the proper value from the system. Obviously, it
doesn't work very well on your system. It would be interesting to
understand why it doesn't work for you...

Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]