Closed Bug 827364 Opened 12 years ago Closed 1 year ago

Text with Gesso font is not properly displayed

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows 8
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: adalucinet, Unassigned)

Details

Attachments

(1 file)

Build ID: 20130104151925 1. Launch Firefox 18 RC. 2. Download the Gesso font from http://www.fontsquirrel.com/fonts/Gesso. 3. After installation, set it as the default font (In the Tools Menu select Options -> Content tab - for Fonts and Colors hit the Advanced button -> uncheck the box "Allow pages to choose their own fonts, instead of my selection above' -> click on the Ok button and dismiss the Options dialog.). 4. Navigate to www.google.com, type something in the search bar (eg. Firebug) and press Enter. Expected results: The font displayed is the newly installed one and no rendering issues appeared. Actual results: The font is not displayed properly in the search bar. The issue is reproducible on the latest Nightly, Aurora, Beta and Firefox 17 released. It is also reproducible on Firefox 4.0, so it's not a regression.
Summary: The fonts are not properly displayed → Text with Gesso font is not properly displayed
I suspect this is due to strange line-spacing metrics in the font. From the <hhea> table: <ascent value="1136"/> <descent value="-140"/> <lineGap value="1080"/> <-- looks very questionable Comparing the <OS/2> table: <sTypoAscender value="862"/> <sTypoDescender value="-140"/> <sTypoLineGap value="205"/> <usWinAscent value="1136"/> <usWinDescent value="140"/> Does it behave the same across all platforms, or do we handle the metrics differently on Windows (with/without accel), Mac, Linux?
I have reproduced this issue on MAC OS 10.8 and got 2 minor problems at installation: 'name' table structure and 'kern' table structure and contents. On Ubuntu 12.10 (32 bit) the font works just fine, no issues with rendering.
Severity: minor → S4

Hello! I will mark this issue as RESOLVED->WORKSFORME since the issue is no longer reproducible on firefox 125.0a1(2024-03-17) on MacOS 12.6

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: