Closed Bug 116990 Opened 23 years ago Closed 22 years ago

Vulgar Fraction entities don't use real glyphs when available

Categories

(Core :: Internationalization, defect, P4)

PowerPC
Mac System 9.x
defect

Tracking

()

VERIFIED DUPLICATE of bug 111728
Future

People

(Reporter: bugmail, Assigned: nhottanscp)

References

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.7) Gecko/20011221 BuildID: 2001122106 Mozilla simulates vulgar fractions by drawing the two numbers and a diagonal slash. This is the desired behavior unless real vulgar fraction glyphs are available. Such glyphs are available under Mac OS but go unused by Mozilla. Reproducible: Always Steps to Reproduce: 1. Open a document containing vulgar fraction entities frac14, frac12, or frac34 Actual Results: Mozilla ignores the available real vulgar fraction glyphs and instead simulates them. Expected Results: Real vulgar fraction glyphs should have been displayed. A testcase will shortly be attached.
Note also that this is applicable to Fizzilla.
font stuff to intl
Assignee: asa → yokoyama
Status: UNCONFIRMED → NEW
Component: Browser-General → Internationalization
Ever confirmed: true
QA Contact: doronr → teruko
font/glyph staff-> shanjian shanjian: can you work on Mac? May be ftang or nhotta better?
Assignee: yokoyama → shanjian
ok, I debug it, what happen is we ask TEC to 182 nsUnicodeRenderingToolkit::TECFallbackGetDimensions( 219 err = ::ConvertFromUnicodeToText(fallbackConverter, (ByteCount)(2), 220 (ConstUniCharArrayPtr) aCharPt, 221 kUnicodeLooseMappingsMask , 0, NULL, 0, NULL, 222 STACK_TREASHOLD, &processBytes, &outLen, 223 (LogicalAddress)buf); ... 245 err = ::ConvertFromUnicodeToText(fallbackConverter, (ByteCount)(2), 246 (ConstUniCharArrayPtr) aCharPt, 247 kUnicodeLooseMappingsMask , 0, NULL, 0, NULL, 248 STACK_TREASHOLD, &processBytes, &outLen, 249 (LogicalAddress)buf); .... 275 276 PRBool nsUnicodeRenderingToolkit :: TECFallbackDrawChar( .... 310 err = ::ConvertFromUnicodeToText(fallbackConverter, (ByteCount)(2), 311 (ConstUniCharArrayPtr) aCharPt, 312 kUnicodeLooseMappingsMask , 0, NULL, 0, NULL, 313 STACK_TREASHOLD, &processBytes, &outLen, 314 (LogicalAddress)buf); The kUnicodeLooseMappingsMask flag cause those map to "1/2" or "1/4". Not sure we should change this flag, we may turn OFF other mapping if we do so. Mark this as P4 and Future.
Assignee: shanjian → ftang
Priority: -- → P4
Target Milestone: --- → Future
give this to nhotta.
Assignee: ftang → nhotta
Status: NEW → ASSIGNED
Blocks: 88791
The ATSUI patch appears to fix this. Tested using FizzillaMach+ATSUI/2002042203.
Depends on: atsui
Is this Mac-only? it looks like I have the same problem on PC.
sharparrow1@yahoo.com, if your font has real fraction glyphs, and Mozilla doesn't use them, then you can make this bug XP.
The patch for bug 111728 (one char at a time ATSUI instead of TEC) fixes this one on OS X. If you can build on Mac OS 9.x, I suggest trying the patch there with #ifdef XP_MACOSX removed.
This still isn't fixed following the check-in of the patch on bug 111728.
Depends on: tec-osx
Whoops, I'm wrong. I was testing a latest-1.1 build. Using 2002081803-trunk, this is now fixed.
No longer depends on: atsui
Resolving dup of bug 111728 per comment 10. *** This bug has been marked as a duplicate of 111728 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified as dup.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: