Closed Bug 150485 Opened 22 years ago Closed 22 years ago

Substituted glyph drawn with too much horizontal whitespace

Categories

(Core :: Internationalization, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 111728

People

(Reporter: kbh7, Assigned: nhottanscp)

References

()

Details

(Keywords: intl, testcase)

Attachments

(3 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0+)
Gecko/20020603
BuildID:    2002060303

The ² character looks fine, but the character seems to have
a fair amount of empty white space it thinks is part of the character.
"a²+b", for example, has a gap between the "2" and "+" maybe
3 times as wide as the "2".

Reproducible: Always
Steps to Reproduce:
1. Go to http://www.w3schools.com/html/html_entitiesref.asp
2. Look at the "superscript 2" line of the table
3. Select the little "2" in the first column

Actual Results:  As you can see from the selection, there's a gap after the "2".
(It's even more noticeable in a real equation.)

Expected Results:  There should be no gap, or at least a smaller gap.  (See the
"degree"
entity in the same table for what I think is a more appropriate size.)

I tried in some other apps, too: IE5/Mac looks similar to Mozilla
(gap), but TextEdit and Omniweb look better (no gap).  Is this an
OS bug?

(Will gladly attach screenshots if this is unclear.)
This bug WFM on WinXP, Trunk-Build 2002060808. I tested it with the attached
test-document.
Thanks for the test case, Stefan.  Just so you can see I'm not crazy, here it
is
(1) in Mozilla at 200%, (2) in Mozilla, with just the ² selected, and (3)
in
TextEdit, Times New Roman 24 (copy-paste directly from Mozilla).  (I combined
the
screenshots and converted them to PNG in Illustrator, so it might not be pixel-

for-pixel, but you can see the spacing.)
Confirmed using FizzillaCFM/2002052918 (rv1.0.0). This is a problem with glyph
substitution; -->Internationalization, and editing Summary.
Assignee: attinasi → yokoyama
Status: UNCONFIRMED → NEW
Component: Layout → Internationalization
Ever confirmed: true
Keywords: testcase
QA Contact: petersen → ruixu
Summary: ² character is really wide (extra white space) → Substituted glyph drawn with too much horizontal whitespace
Keywords: intl
QA Contact: ruixu → ylong
->nhotta ccing myself
Assignee: yokoyama → nhotta
I think this is also related to the problem of unnecessary font fallback taking
place. I'll attach a second testcase.

I think this is more serious than 
It seems the ATSUI patch fixes the problem entirely.
Depends on: atsui
See also bug 148361.
Status: NEW → ASSIGNED
TEC likes to use CJK fonts whose European chars are designed to be as wide as
the Han/Kanji/Hangul blocks.

*** This bug has been marked as a duplicate of 111728 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Mark as verified dup.  Please reopen if disagree.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: