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)
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.
Comment 3•23 years ago
|
||
font stuff to intl
Assignee: asa → yokoyama
Status: UNCONFIRMED → NEW
Component: Browser-General → Internationalization
Ever confirmed: true
QA Contact: doronr → teruko
Comment 4•23 years ago
|
||
font/glyph staff-> shanjian
shanjian: can you work on Mac? May be ftang or nhotta better?
Assignee: yokoyama → shanjian
Comment 5•23 years ago
|
||
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
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
The ATSUI patch appears to fix this. Tested using FizzillaMach+ATSUI/2002042203.
Comment 8•23 years ago
|
||
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.
Reporter | ||
Comment 11•22 years ago
|
||
This still isn't fixed following the check-in of the patch on bug 111728.
Depends on: tec-osx
Reporter | ||
Comment 12•22 years ago
|
||
Whoops, I'm wrong. I was testing a latest-1.1 build. Using 2002081803-trunk,
this is now fixed.
No longer depends on: atsui
Reporter | ||
Comment 13•22 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•