Closed Bug 290975 Opened 20 years ago Closed 19 years ago

Font height is not even for font-size: 13px; font-family: Verdana

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: kremit, Assigned: blizzard)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Firefox/1.0.2 Fedora/1.0.2-3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Firefox/1.0.2 Fedora/1.0.2-3

On the attached test-case, the font glyphs are not rendering properly. The "L"
is larger than everything, and the "B" is too small. Tap CTRL++ to increase the
font size a bit and it looks fine.
The CSS is set to:
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;

Resolution, set in the GNOME font settings, is 96 dpi.

Reproducible: Sometimes

Steps to Reproduce:



Expected Results:  
The height of the font glyphs should be equal (see attached testcase), such as
in the first "Bold" word after you increase the text size of the page.
Attached file Testcase
Attached image Screenshot of problem
Keywords: testcase
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.0 Branch
I'm seeing this too, 1.0.3 and trunk. Rounding problem, perhaps? I don't see it
in, e.g., gedit, but that doesn't seem to use pixels for font sizes.
Status: UNCONFIRMED → NEW
Component: Layout → Layout: Fonts and Text
Ever confirmed: true
QA Contact: layout → layout.fonts-and-text
Version: 1.0 Branch → Trunk
Err... on closer inspection, I'm NOT seeing this, it was an optical illusion.
Assignee: nobody → blizzard
Component: Layout: Fonts and Text → GFX: Gtk
QA Contact: layout.fonts-and-text → ian
WFM in Firefox 1.5rc2 in FC4 1024x768 96 DPI with 149,752 byte 25 Jun 2002 verdana.ttf file.

Wesley, what filesize and timestamp are on your verdana.ttf file? An older, likely broken, version of a smaller file size could be your problem.
(In reply to comment #5)
> WFM in Firefox 1.5rc2 in FC4 1024x768 96 DPI with 149,752 byte 25 Jun 2002
> verdana.ttf file.

I thought I had closed this bug; v1.5rc2 works for me as well. Closing...

> 
> Wesley, what filesize and timestamp are on your verdana.ttf file? An older,
> likely broken, version of a smaller file size could be your problem.

# ll /usr/share/fonts/verdana*
-rw-r--r--  1 root root 136032 Jun 17  2002 /usr/share/fonts/verdanab.ttf
-rw-r--r--  1 root root 154264 Jun 17  2002 /usr/share/fonts/verdanai.ttf
-rw-r--r--  1 root root 139640 Jun 17  2002 /usr/share/fonts/verdana.ttf

Thanks!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
The 139,640 byte verdana.ttf file dates back to Windows 98, while the 149,752 byte verdana.ttf file was introduced with Windows XP. 

Verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: