FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-06-2008, 10:46 AM
Denis Leroy
 
Default xulrunner rendering issues ?

On my rawhide setup, both epiphany and galeon are very much unusable at
this point because of font and image sizes going haywire. Screenshot :


http://www.poolshark.org/images/xulrunner.png

Left is epiphany. Top right is galeon (with zoom set at 100%). Bottom
right is firefox, which looks good. A quick bugzilla search came up
empty, so am I the only one affected ??


-denis

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-06-2008, 12:16 PM
Andrew Farris
 
Default xulrunner rendering issues ?

Denis Leroy wrote:
On my rawhide setup, both epiphany and galeon are very much unusable at
this point because of font and image sizes going haywire. Screenshot :


http://www.poolshark.org/images/xulrunner.png

Left is epiphany. Top right is galeon (with zoom set at 100%). Bottom
right is firefox, which looks good. A quick bugzilla search came up
empty, so am I the only one affected ??


Try setting your dpi in the appearance configuration (under the font tab). If
that doesn't work, go to firefox 3, hit about:config and search for dpi, change
that, then firefox should render right at least.


--
Andrew Farris <lordmorgul@gmail.com> www.lordmorgul.net
gpg 0x8300BF29 fingerprint 071D FFE0 4CBC 13FC 7DEB 5BD5 5F89 8E1B 8300 BF29
revoked key 0xC99B1DF3 no longer used
No one now has, and no one will ever again get, the big picture. - Daniel Geer
---- ----

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-06-2008, 01:06 PM
"Jakub 'Livio' Rusinek"
 
Default xulrunner rendering issues ?

Dnia 2008-04-06, nie o godzinie 12:46 +0200, Denis Leroy pisze:
> On my rawhide setup, both epiphany and galeon are very much unusable at
> this point because of font and image sizes going haywire. Screenshot :
>
> http://www.poolshark.org/images/xulrunner.png
>
> Left is epiphany. Top right is galeon (with zoom set at 100%). Bottom
> right is firefox, which looks good. A quick bugzilla search came up
> empty, so am I the only one affected ??

Unfair. This is Firefox 2.

--
Jakub 'Livio' Rusinek
http://liviopl.jogger.pl/
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-06-2008, 04:09 PM
Denis Leroy
 
Default xulrunner rendering issues ?

Andrew Farris wrote:
Try setting your dpi in the appearance configuration (under the font
tab). If that doesn't work, go to firefox 3, hit about:config and
search for dpi, change that, then firefox should render right at least.


Thanks, that indeed seems to be the root of the problem. It does however
points out our vulnerable we are to a poorly reported monitor DPI
value, a scenario I'm concerned might be quite common with some X
drivers and/or buggy monitor firmwares.


My problem is that the F-9 VMWare guest shows a DPI setting of 144 (even
though my external LCD screen is 96 dpi), so VMware virtual screen is
probably at fault here.


I tried the Live i386 CD from Jesse's recent snapshot. It behaves much
better, but ironically it does so because the "nv" driver does not
report my T61 screen DPI correctly (96 instead of 128). I already find
the default font size to be too big on the live CD (first thing i do is
change it from 10 down to 9), but it's scary to think it would be even
larger if nv reported the DPI info corectly.


> If that doesn't work, go to firefox 3, hit about:config and
> search for dpi, change that, then firefox should render right
> at least.

A second problem is that the about:config seems to be broken with both
galeon and epiphany (can't change any values). I filed bug 441120
against xulrunner for this. Also, it seems wrong that changing the dpi
settings in the Gnome appearance configuration is not enough, but one
has to change the (somewhat obscure) internal dpi settings in all
browsers. Probably worthy of release notes documentation.


-denis

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-06-2008, 06:24 PM
Felix Miata
 
Default xulrunner rendering issues ?

On 2008/04/06 18:09 (GMT+0200) Denis Leroy apparently typed:

> A second problem is that the about:config seems to be broken with both
> galeon and epiphany (can't change any values). I filed bug 441120
> against xulrunner for this. Also, it seems wrong that changing the dpi
> settings in the Gnome appearance configuration is not enough, but one
> has to change the (somewhat obscure) internal dpi settings in all
> browsers. Probably worthy of release notes documentation.

Do 'xrdb -query | grep dpi' to see if Xft.dpi is working for or against you before going to user desktop settings or bugzilla. I have no idea what the current state of this is because I can't get rawhide to install
anywhere directly. https://bugzilla.redhat.com/show_bug.cgi?id=430836
--
"Either the constitution controls the judges, or the
judges rewrite the constitution." Judge Robert Bork

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://fm.no-ip.com/

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-07-2008, 11:58 AM
Denis Leroy
 
Default xulrunner rendering issues ?

Nicolas Mailhot wrote:

The problem is not applications doing it wrong, and the Gnome
appearance configuration doing it right, they all change things at the
wrong level which explains why the changes are not shared, conflict,
and are a PITA for users.

The right desktop level for DPI is xorg. All the apps need to be fixed
to stop meddling with DPI values, use the Xorg DPI values directly
(and fix xorg when it's getting it wrong, in your case vmware side).
Unfortunately so far the reflex of every app writer was not to help
xorg fix its code but workaround it locally in various conflicting and
incompatible ways. What you are seing right now is the pile of dpi
workarounds and bandaids crumbling on your system.


I think you summarized it pretty well. To be accurate, the VMWare
problem is not DPI reporting (which is correct, as per xrdb -query), but
the screen *size* reporting (in millimeters). The function
get_dpi_from_x_server() in the control-center source code calls
gdk_screen_get_width_mm() and computes its own DPI value from the
screen pixel and mm size, and get its wrong. As you said, it would
cleaner if it queried the X server for the DPI size directly...


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-07-2008, 12:11 PM
"Nicolas Mailhot"
 
Default xulrunner rendering issues ?

Le Dim 6 avril 2008 18:09, Denis Leroy a écrit :
> Andrew Farris wrote:

> > If that doesn't work, go to firefox 3, hit about:config and
> > search for dpi, change that, then firefox should render right
> > at least.
>
> A second problem is that the about:config seems to be broken with both
> galeon and epiphany (can't change any values). I filed bug 441120
> against xulrunner for this. Also, it seems wrong that changing the dpi
> settings in the Gnome appearance configuration is not enough, but one
> has to change the (somewhat obscure) internal dpi settings in all
> browsers. Probably worthy of release notes documentation.

The problem is not applications doing it wrong, and the Gnome
appearance configuration doing it right, they all change things at the
wrong level which explains why the changes are not shared, conflict,
and are a PITA for users.

The right desktop level for DPI is xorg. All the apps need to be fixed
to stop meddling with DPI values, use the Xorg DPI values directly
(and fix xorg when it's getting it wrong, in your case vmware side).
Unfortunately so far the reflex of every app writer was not to help
xorg fix its code but workaround it locally in various conflicting and
incompatible ways. What you are seing right now is the pile of dpi
workarounds and bandaids crumbling on your system.

Once you have a shared DPI value you can have a shared default font
size value (in pt) and size all the widgets of the various apps
accordingly. It was proposed to use xsettings to propagate this
default font size in a desktop-agnostic way. This is bug
https://bugzilla.mozilla.org/show_bug.cgi?id=414427

You have various upstream related bugs collected at
http://fedoraproject.org/wiki/SIGs/Fonts/QA#known-problems

If you're interested in text rendering problems Fedora-side, do spend
the time to read/comment/vote on them, and add new ones to the lists
as you feel necessary.

Regards,

--
Nicolas Mailhot

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-07-2008, 03:59 PM
"Nicolas Mailhot"
 
Default xulrunner rendering issues ?

Le Lun 7 avril 2008 13:58, Denis Leroy a écrit :

> I think you summarized it pretty well. To be accurate, the VMWare
> problem is not DPI reporting (which is correct, as per xrdb -query),
> but the screen *size* reporting (in millimeters).

Actually this is pretty much the same thing as the pixel resolution of
a plane is always well known, so the only reason Xorg can get the DPI
wrong is if it misdetects the physical screen size.

--
Nicolas Mailhot

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-07-2008, 05:57 PM
Kevin Kofler
 
Default xulrunner rendering issues ?

Nicolas Mailhot <nicolas.mailhot <at> laposte.net> writes:
> It was proposed to use xsettings to propagate this
> default font size in a desktop-agnostic way.

xsettings is not desktop-agnostic, KDE doesn't use it at all. There's a hack
called xsettings-kde which exports xsettings for foreign apps using them, but
it doesn't work properly with KDE 4.

Kevin Kofler

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-07-2008, 06:29 PM
"Jakub 'Livio' Rusinek"
 
Default xulrunner rendering issues ?

Dnia 2008-04-07, pon o godzinie 17:57 +0000, Kevin Kofler pisze:
> Nicolas Mailhot <nicolas.mailhot <at> laposte.net> writes:
> > It was proposed to use xsettings to propagate this
> > default font size in a desktop-agnostic way.

I proposed it, but it has never been implemented.

> xsettings is not desktop-agnostic, KDE doesn't use it at all.

As usual...

--
Jakub 'Livio' Rusinek
http://liviopl.jogger.pl/
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 08:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org