Closed Bug 307538 Opened 19 years ago Closed 15 years ago

interface with pango backend shoudn't use the display resolution setting

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: glandium, Assigned: blizzard)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.8b4) Gecko/20050908 Debian/1.4.99+1.5alpha-3 Firefox/1.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.8b4) Gecko/20050908 Debian/1.4.99+1.5alpha-3 Firefox/1.4

I built a MOZILLA_1_8_BRANCH checkout from 2 days ago firefox with the
--enable-pango flag. When running with pango enabled, fonts are much bigger than
what they used to be with a version without --enable-pango. Setting
MOZ_DISABLE_PANGO=1 brings fonts to the correct size.

While the fonts are bigger, the widget sizes don't get adjusted for everything.
Windows, some dropdown menus highlight, etc, get wrong sizes compared to the
font sizes.

Reproducible: Always
That font prefs window has a 'style="width 39em ! important"' attribute on it, which is why it's not resizing -- note that it did resize vertically, just not horizontally.

The "bigger" issue is probably a dpi issue; pango is most likely using the system/gnome DPI setting, which may be different than the dpi setting set in the prefs.  DPI handling is completely horked across the board right now and is very inconsistent.  This part may be a dup of bug 297141.

I'd say -> INVALID, unless there's a good test case/example given...
Vladimir, you're almost right, except it the other way around.

My screen resolution is 112, but the default "display resolution" setting is 96. If I set to "system setting", the fonts in the interface are then displayed with the same sizes as all the other gnome applications.

So here is the problem: while I understand that web pages are sometimes designed with the fact that dpi is either 72 or 96 (thus the defaults in the display resolution list) made you put such a setting, it should not interfere with the gnome and X setting for the menus and dialogs. Everything XUL, i guess.

That doesn't seem related to bug #297141 to me.
Summary: rendering with pango uses bigger fonts, and widget sizes are not adjusted → interface with pango backend shoudn't use the display resolution setting
Product: Core → Core Graveyard
I think this is long gone.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: