Text compressed in certain web pages

UNCONFIRMED
Unassigned

Status

()

--
trivial
UNCONFIRMED
11 years ago
11 years ago

People

(Reporter: tmoberg, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5

Some web pages have compressed/distorted text. Looks strange. A possible bug?

Reproducible: Always

Steps to Reproduce:
1. install ubuntu 8.04 rc on a dell inspiron 2200
2. go to web page above
(Reporter)

Updated

11 years ago
Severity: normal → trivial

Comment 1

11 years ago
Looks fine for me on Ubuntu Gutsy. Can you post a screenshot?

Comment 2

11 years ago
Created attachment 317078 [details]
reporter's screenshot

Updated

11 years ago
Component: General → GFX: Thebes
Product: Firefox → Core
QA Contact: general → thebes
Version: unspecified → Trunk

Comment 3

11 years ago
Created attachment 317089 [details]
reduced testcase

The first thing would be to define "Text compressed".

My understanding is that for instance the "e" and "c" of "select" are too close or "f" and "e" of "feature" are too far. Is this what you mean?

On Hardy, the attached testcase seems to use the Helvetica font-family: it looks the same if I keep only "font-family: Helvetica". This font maps to:

 fc-match -v Helvetica|grep file:
        file: "/usr/share/fonts/type1/gsfonts/n019003l.pfb"(s)

I guess that font is to be blamed, I get the same rendering with ftview:

ftview -m "Please select any features you'd like" 13  /usr/share/fonts/type1/gsfonts/n019003l.pfb 

By the way, if you install msttcorefonts (apt-get install msttcorefonts), the testcase will match the Arial font, which uses:
/usr/share/fonts/truetype/msttcorefonts/Arial.ttf

The rendering is looking better (even with ftview
  ftview -m "Please select any features you'd like" 13  /usr/share/fonts/truetype/msttcorefonts/Arial.ttf
)

If you don't want to install msttcorefonts, you could configure your ~/.fonts.conf fontconfig configuration to use something else than n019003l.pfb.
You need to log in before you can comment on or make changes to this bug.