Re: Pango: Iceweasel vs. Chrome

2010-02-06 Thread Florian Kulzer
On Sat, Feb 06, 2010 at 11:00:16 +0530, Girish Kulkarni wrote:
> On Wed, 3 Feb 2010 09:30:07 + (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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Pango: Iceweasel vs. Chrome

2010-02-05 Thread Girish Kulkarni
On Wed, 3 Feb 2010 09:30:07 + (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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Pango: Iceweasel vs. Chrome

2010-02-03 Thread Liam O'Toole
On 2010-02-03, Girish Kulkarni  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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Pango: Iceweasel vs. Chrome

2010-02-03 Thread Girish Kulkarni

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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org