Closed
Bug 96928
Opened 24 years ago
Closed 24 years ago
[Composer] The Japanese characters looks like "Cut-off" when first typing in Composer
Categories
(Core :: Internationalization, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.5
People
(Reporter: amyy, Assigned: bstell)
References
Details
(Keywords: intl)
Attachments
(5 files)
Build: 08-24 linux trunk build on RH6.2-Ja
Steps to repro:
1. Launch browser and Open Composer.
2. Turn on the kinput2 and start type some Japanese characters.
Result:
1. You will find the top of characters have been "cut-off" - a screen shot will
be followed.
I don't see the same problem on N6.1 RTM build.
2. If you resize the Composer window, then the characters will display completely.
Reporter | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
Assignee | ||
Comment 4•24 years ago
|
||
Assignee | ||
Comment 5•24 years ago
|
||
in attachment 49255 [details] I copied the Japanese char from attachment 49255 [details] into a
composer window 2 times, cover/uncovered to force a redraw, then deleted one
character.
As can be seen in the image; moz's idea of the size/position does not match the
actual glyph's size/position.
Comments made on bug 91794:
------- Additional Comments From rbs@maths.uq.edu.au 2001-09-13 15:31 -------
>changing from max_bounds.ascent,max_bounds.descent to ascent/descent
>causes clipping of Japanese chars. See bug 96928
I checked the documentation and it is okay to use the ascent/descent in the way
this bug is doing. I suspect therefore that the regression might perhaps be just
some side-effects of the fact that an unrelated ASCII font is determining the
height, instead of the actual J-font being used for the text. If that's the case
then my patch in bug 99010 makes even more sense. I suggest to wait and try to
see if my patch caters for the regression.
------- Additional Comments From David Baron 2001-09-13 15:42 -------
If this did cause bug 96928, then the fix would not be to back it out, but to
fix invalidation code so that it works in this case. (If bug 96928 was a
side-effect of this fix, then it was merely that this change exposed an existing
bug that would previously have been visible for text with a 'line-height' less
than 'normal' -- one that we should fix anyway.)
I see the bug when editing the first of the above testcases but not the second.
They are displayed on my machine using the same font (which is different from
the one I get if I specify 'serif'), but the line-spacing is noticeably
different (I can see from going Back/Forward between them that the characters
are a pixel lower in the second testcase).
I think this confirms rbs's theory.
Reporter | ||
Comment 11•24 years ago
|
||
The problem occurs in both testcases here on Linux 6.2-Ja system though.
Try replacing "sans-serif" in the second testcase with the name of the Japanese
font that shows up when you view the first testcase.
Assignee | ||
Comment 13•24 years ago
|
||
David: did you actually test with rbs' patched code?
Assignee | ||
Comment 14•24 years ago
|
||
rbs: The patches ot bug 99010 have rotted a bit and I cannot get it to
work on a current build.
Can you verify that your patch for 99010 fixes this?
Thanks
Comment 15•24 years ago
|
||
That doesn't surprise me, I have been singing all along how hard it is to keep
up with the trunk. Let me drop new zip files in sync with current trunk so that
you can easily overwrite the current ones.
No, I didn't test with rbs's code, but it's clearly the problem he describes
since I can see or not see the problem with a given font depending on the value
of the 'font-family' property that led to the font being selected.
Assignee | ||
Comment 17•24 years ago
|
||
rbs: thanks
dbaron: I'm just being careful (or pedantic depending on the pejorative one
wants to use)
Assignee | ||
Comment 18•24 years ago
|
||
I tried a build with the 99010 patches and it seems to solve this problem.
Depends on: 99010
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.5
Assignee | ||
Comment 19•24 years ago
|
||
Yuying: now that bug 99010 is checked in could you test if this is still
a problem?
thanks
Reporter | ||
Comment 20•24 years ago
|
||
I can not verify it on today's trunk build, cause we have a trunk block bug(with
JA locale) that I can launch browser.
But I still see it on branch build though.
Reporter | ||
Comment 21•24 years ago
|
||
This works fine on 10-01 trunk build.
However, bug 99010 is re-opened right now, don't know if it will be affected
here when there is some new changed over there.
Assignee | ||
Comment 22•24 years ago
|
||
this was fixed by bug 99010
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 23•24 years ago
|
||
Marking as verified cause not reproducible on 10-01 linux trunk build.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•