Closed
Bug 160001
Opened 22 years ago
Closed 22 years ago
atsui display code show text incorrectly
Categories
(Core :: Internationalization, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.2alpha
People
(Reporter: ftang, Assigned: ftang)
References
()
Details
(Keywords: intl)
Attachments
(1 file)
1002 bytes,
patch
|
ftang
:
review+
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
When I visit http://people.netscape.com/ftang/testscript/gb18030/gb18030.cgi?page=52 or some page similar to that. the text drawn by ATSUI change when I mouse over. The first part of change in http://bugzilla.mozilla.org/attachment.cgi?id=93064&action=view seems solve this issue.e
Assignee | ||
Comment 1•22 years ago
|
||
that patch is submitted in 111728. I do not agree with the 2nd part. but the first part is very good to take.
Summary: atsui display code show text incorrectly → atsui display code show text incorrectly
Assignee | ||
Comment 2•22 years ago
|
||
submitted by hsivonen@niksula.hut.fi (Henri Sivonen) in bug 111728
Assignee | ||
Comment 3•22 years ago
|
||
Comment on attachment 93201 [details] [diff] [review] patch address the atsui issue r=ftang
Attachment #93201 -
Flags: review+
Assignee | ||
Updated•22 years ago
|
Comment 5•22 years ago
|
||
Comment on attachment 93201 [details] [diff] [review] patch address the atsui issue sr=sfraser
Attachment #93201 -
Flags: superreview+
PC/Mac OS X? I doubt it. Setting Platform to Mac.
Hardware: PC → Macintosh
Assignee | ||
Updated•22 years ago
|
Target Milestone: --- → mozilla1.2alpha
> Re: bug 111728 comment 11 From Henri Sivonen 2002-07-27 15:25 ------- > > non-MacRoman chars getting cached somewhere in such a way that the > first-rendered char gets repeated when Mozilla is supposed to draw the next The patch for bug 107146 fixes this bug by clearing the ATSUI cache. It turned out during testing that the MathML metrics were incorrect (i.e., constant) and shofield contacted Apple: ATSUI doesn't clear its cache if the pointer is the same. So clearing the cache seems more intelligible and will bullet-proof against other oddities that might be lurking there.
Comment 8•22 years ago
|
||
I don't know what the implications of the different approaches are. I tried to re-apply the style, because Apple suggests it in the docs: http://developer.apple.com/techpubs/macosx/Carbon/text/ATSUI/Apple_Type_S_code_Imaging/Functions/Assigning_an_pdating_Text.html
Comment 9•22 years ago
|
||
According to Apple's documentation, ATSUClearLayoutCache isn't available on Mac OS 8.5.
Assignee | ||
Comment 10•22 years ago
|
||
how about using ATSUClearLayoutCache for TARGET carbon and use the current patch for non Carbon? Is ATSUClearLayoutCache available on MacOS X?
Comment 11•22 years ago
|
||
Accoding to the docs, ATSUClearLayoutCache is available on OS X. If ATSUClearLayoutCache is called, should ATSUSetRunStyle be called nonetheless, since the docs say it should be called after updating the text pointer?
Comment 12•22 years ago
|
||
This seems to WorkForMe using FizzillaCFM/2002080303. The text doesn't change on mouseover.
Comment 13•22 years ago
|
||
It appears that this one got fixed along with the MathML landing. I haven't tested what happends if you --disable-mathml, but disabling MathML is uncool anyway. :-)
Assignee | ||
Comment 14•22 years ago
|
||
mark it as fixed . it is really fixed by other bug (the mathml patch)
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 15•22 years ago
|
||
Not sure which MathML bug fixed it, so let's depend on the basic one.
Depends on: 155703
Comment 16•22 years ago
|
||
This is fixed in 09-16 trunk build, but I wonder why I still see this problem on 09-12 branch build, because the math bug 155703 was checked in quite a long time ago. Not sure if it is related with surrogate support checked-in trunk build. I'm marking this as verified as fixed based on trunk build result. Please re-open if we should get this in branch.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•