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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-03-2010, 07:21 AM
Girish Kulkarni
 
Default Pango: Iceweasel vs. Chrome

Hi,

I decided to go ahead and try Google Chrome (4.0.249.43) on my laptop,
which runs Lenny. My usual browser is Iceweasel (3.0.6).

A pleasant surprise in Chrome was a much better rendering of the
Devanagari script:

http://athene.org.in/girish/pango.html

Iceweasel leaves gaps in ligatures and places letters unevenly so that
text in Hindi or Marathi, for instance, looks ugly. Both browsers use
Pango to render Indic scripts. (Same font is used in the above
example.) Could someone please explain why the difference then?

Remarkably, the Iceweasel version that came with Etch used to render
Devanagari well. Exactly like Chrome here. Since Iceweasel is my
preferred browser otherwise, I wonder if there's something I can do to
improve Devanagari rendering in it?

Thanks,
Girish.

--
Girish Kulkarni - Allahabad, India - http://athene.org.in/girish


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-03-2010, 08:30 AM
Liam O'Toole
 
Default Pango: Iceweasel vs. Chrome

On 2010-02-03, Girish Kulkarni <girish@hri.res.in> wrote:
> Hi,
>
> I decided to go ahead and try Google Chrome (4.0.249.43) on my laptop,
> which runs Lenny. My usual browser is Iceweasel (3.0.6).
>
> A pleasant surprise in Chrome was a much better rendering of the
> Devanagari script:
>
> http://athene.org.in/girish/pango.html
>
> Iceweasel leaves gaps in ligatures and places letters unevenly so that
> text in Hindi or Marathi, for instance, looks ugly. Both browsers use
> Pango to render Indic scripts. (Same font is used in the above
> example.) Could someone please explain why the difference then?
>
> Remarkably, the Iceweasel version that came with Etch used to render
> Devanagari well. Exactly like Chrome here. Since Iceweasel is my
> preferred browser otherwise, I wonder if there's something I can do to
> improve Devanagari rendering in it?
>
> Thanks,
> Girish.
>

I come from the other direction: I prefer font rendering in Iceweasel
compared to Chrome. When I investigated the difference I came across this
bug report

http://code.google.com/p/chromium/issues/detail?id=18159

Basically the difference is that Chrome repects the XSETTINGS
configuration but not the detailed fontconfig settings. If you are
running both browsers in a GNOME session then Chrome will use XSETTINGS.

--
Liam O'Toole
Birmingham, United Kingdom



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-06-2010, 04:30 AM
Girish Kulkarni
 
Default Pango: Iceweasel vs. Chrome

On Wed, 3 Feb 2010 09:30:07 +0000 (UTC) Liam O'Toole wrote:
> Basically the difference is that Chrome repects the XSETTINGS
> configuration but not the detailed fontconfig settings. If you are
> running both browsers in a GNOME session then Chrome will use
> XSETTINGS.

Thanks for the reply. I'm quite unfamiliar with both XSETTINGS and
fontconfig, and would like to translate the difference between Chrome
and Iceweasel (that you point out) into improvement in Iceweasel's
font-handling. Wonder if there's some documentation on this?

Thanks,
Girish.

--
Girish Kulkarni - Allahabad, India - http://athene.org.in/girish


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-06-2010, 09:50 AM
Florian Kulzer
 
Default Pango: Iceweasel vs. Chrome

On Sat, Feb 06, 2010 at 11:00:16 +0530, Girish Kulkarni wrote:
> On Wed, 3 Feb 2010 09:30:07 +0000 (UTC) Liam O'Toole wrote:
> > Basically the difference is that Chrome repects the XSETTINGS
> > configuration but not the detailed fontconfig settings. If you are
> > running both browsers in a GNOME session then Chrome will use
> > XSETTINGS.
>
> Thanks for the reply. I'm quite unfamiliar with both XSETTINGS and
> fontconfig, and would like to translate the difference between Chrome
> and Iceweasel (that you point out) into improvement in Iceweasel's
> font-handling. Wonder if there's some documentation on this?

Step 1: Find out your font-related GTK settings. You can use the
gtksettings.c program from the chromium bug report that was pointed out
earlier by Liam[1], or you can try either "xrdb -query | grep Xft"
(basic X) or "gconftool-2 --all-entries /desktop/gnome/font_rendering"
if you use Gnome.

Step 2: Transfer these settings to your ~/.fonts.conf or the
system-level configuration files in /etc/fonts/. The documentation of
the configuration files[2] should already be on your system as part of
the fontconfig package. It might be easier to use a comparison of
fonts.conf with the xrdb output[3] to learn how to write an equivalent
fonst.conf.

Step 3: Iceweasel should respect the new fontconfig settings the next
time it is started.

[1] http://code.google.com/p/chromium/issues/detail?id=18159#c11
[2] file:///usr/share/doc/fontconfig/fontconfig-user.html
[3] http://lists.debian.org/debian-user/2006/11/msg03003.html

--
Regards, |
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:07 PM.

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