Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175654 - mozilla-thunderbird-2.0.0.0 browser has tiny fonts
Summary: mozilla-thunderbird-2.0.0.0 browser has tiny fonts
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 04:47 UTC by Vladimir G. Ivanovic
Modified: 2007-04-26 11:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,14.27 KB, text/plain)
2007-04-23 04:47 UTC, Vladimir G. Ivanovic
Details
mozilla-thunderbird-2.0.0.0.ebuild (mozilla-thunderbird-2.0.0.0.ebuild,7.75 KB, text/plain)
2007-04-24 19:02 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir G. Ivanovic 2007-04-23 04:47:18 UTC
Since upgrading to Thunderbird 2.0.0.0, the font used to
display the folders list, the message list and menu items is tiny.

Note: The font size of message *contents* is not the issue here; that can be set using the Font Display Preferences dialog.

Upon inspection, message contents font size 11 is the same size as GNOME Terminal's 8 (both Monospace), so it seems that Thunderbird renders all fonts 3 points smaller than indicated.

The Thunderbird docs (still?) speak of userChrome.css as the file (not present by default) that allows one to modify the browser's appearance, but

  strace -fe trace=open /usr/bin/thunderbird 2>&1 | \
    fgrep userChrome.css

yields nothing indicating that Thunderbird 2.0 apparently no longer uses userChrome.css. In any event, creating and populating a userChrome.css changes nothing.

Note: mozilla-thunderbird-bin has correctly sized fonts.
Note: mozilla-firefox-2.0.0.3, like mozilla-thunderbird-2.0.0.0 also seems to have menu items 3 points smaller than indicated.
Note: Seamonkey also renders fonts 3 points too small.
Comment 1 Vladimir G. Ivanovic 2007-04-23 04:47:42 UTC
Created attachment 117043 [details]
emerge --info
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2007-04-23 05:20:38 UTC
Just a wild guess here, but this probably has something to do with pango's font handling
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2007-04-24 18:25:50 UTC
Not owned by gnome, keeping CC though, it could be linked to gnome prefs.
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2007-04-24 19:02:48 UTC
Created attachment 117161 [details]
mozilla-thunderbird-2.0.0.0.ebuild

Try this ebuild
Comment 5 Vladimir G. Ivanovic 2007-04-25 05:06:02 UTC
(In reply to comment #4)
> Created an attachment (id=117161) [edit]
> mozilla-thunderbird-2.0.0.0.ebuild
> 
> Try this ebuild

Unfortunately, no change in font size.

(The only difference I saw in this new ebuild was that the 003_firefox-bus-error patch was not applied.)

Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2007-04-25 08:42:48 UTC
Try emerging it with moznopango USE-flag.
Comment 7 Vladimir G. Ivanovic 2007-04-25 18:33:54 UTC
(In reply to comment #6)
> Try emerging it with moznopango USE-flag.

Bingo! That fixed things: nice, normal fonts. [Note: Since I sync every night, I didn't use ebuild given in Reply #4; I used the standard ebuild.]

What do users lose by setting USE=moznopango and is it appropriate to use moznopango for other Mozilla applications that have the same problem, e.g. Seamonkey and Firefox?

FYI: It seems that Thunderbird still uses Pango in some fashion:

  $ ldd /usr/lib64/mozilla-thunderbird/thunderbird-bin | fgrep pango
          libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00002abd37ebb000)
          libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002abd37fc4000)
          libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00002abd39666000)

and 

  Building mozilla-thunderbird-2.0.0.0 with the following configuration
  [...snip...]
      --enable-pango                  gentoo
  [...snip...]
  #define MOZ_ENABLE_PANGO 1

So, what does USE=moznopango do?

Comment 8 Vladimir G. Ivanovic 2007-04-26 00:00:31 UTC
(In reply to comment #7)
> [...snip..] is it appropriate to use
> moznopango for other Mozilla applications that have the same problem, e.g.
> Seamonkey and Firefox?

Firefox and Seamonkey have normally-sized fonts when built with USE=moznopango.

As far as I'm concerned, you may close this bug. If it's not a Gentoo-related bug, then upstream probably ought to be notified.
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2007-04-26 11:27:33 UTC
I'm not sure what it does. I guess it doesn't use pango for everything...i don't know :)

I suppose that's the way pango handles the fonts. bug 170359 can be of interest.

Closing as invalid, since if the user doesn't want pango handling the fonts, he can use the use-flag.