Closed
Bug 285148
Opened 20 years ago
Closed 18 years ago
[Win2000 Only] the wrapped text disappear
Categories
(Core Graveyard :: GFX: Win32, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: masayuki, Unassigned)
Details
Attachments
(4 files)
This bug is reproduced while following conditions are complete. 1. This bug is reproduced on only Windows2000. On WinXP, it is not reproduced. 2. this bug is reproduced when the font is 'MS PMincho' or 'MS PGothic'. 3. The minimum, three lines are necessity. 4. The first character of third line is any char, and 2nd charachter and more are independent element.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
| Reporter | ||
Comment 3•20 years ago
|
||
Oops. It is reproduced with the font is "Roman" or "Modern" too.
| Reporter | ||
Comment 4•20 years ago
|
||
1) Is the text still hidden when you attempt to select it? 2) Do you see the bug even if your locale is English? On my Win2K-English, everything works fine.
| Reporter | ||
Comment 6•20 years ago
|
||
(In reply to comment #5) > 1) Is the text still hidden when you attempt to select it? Yes. Still hidden. > 2) Do you see the bug even if your locale is English? My locale is JA. I tested Win2k-JA, WinMe-JA, WinXP-JA. It is reproduced on Win2k-JA only.
Comment 7•20 years ago
|
||
Reproducible on Win2K SP4 (Chinese Traditional). Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217
Looks like a bug in the GDI itself. Can you try the change below in
|nsGfxFactoryWin.cpp|,
i.e., substitute |return useAFunctions| with |return 1| in UseAFunctions().
this will force a different (much slower) codepath that we have for cases where
there are bugs in the GDI beyond our control. If this fixes the problem, we will
conclude for sure that it is a bug in the GDI of Win2K-CJK.
Index: nsGfxFactoryWin.cpp
===================================================================
RCS file: /cvsroot/mozilla/gfx/src/windows/nsGfxFactoryWin.cpp,v
retrieving revision 3.37
diff -p -u -r3.37 nsGfxFactoryWin.cpp
--- nsGfxFactoryWin.cpp 17 Apr 2004 21:52:32 -0000 3.37
+++ nsGfxFactoryWin.cpp 8 Mar 2005 07:43:10 -0000
@@ -94,7 +94,7 @@ UseAFunctions()
}
}
- return useAFunctions;
+ return 1; //useAFunctions;
}
static NS_IMETHODIMP
Comment 9•20 years ago
|
||
(In reply to comment #6) > > 2) Do you see the bug even if your locale is English? > My locale is JA. > I tested Win2k-JA, WinMe-JA, WinXP-JA. > It is reproduced on Win2k-JA only. You can switch your locale to English or any locale supported by Win 2k in the control panel. Does it make any difference? I'll test it myself later...
| Reporter | ||
Comment 10•20 years ago
|
||
(In reply to comment #8) > Looks like a bug in the GDI itself. Can you try the change below in > |nsGfxFactoryWin.cpp|, > > i.e., substitute |return useAFunctions| with |return 1| in UseAFunctions(). I cannot reproduce by this way.
| Reporter | ||
Comment 11•20 years ago
|
||
(In reply to comment #9) > You can switch your locale to English or any locale supported by Win 2k in the > control panel. Does it make any difference? I'll test it myself later... > I cannot reproduce the problem after switching my locale to English.
Comment 12•20 years ago
|
||
So is this GDI bug something we can/should work around somehow?
| Reporter | ||
Updated•18 years ago
|
Assignee: nobody → win32
Component: Layout: Fonts and Text → GFX: Win32
QA Contact: layout.fonts-and-text → ian
| Reporter | ||
Comment 13•18 years ago
|
||
We don't have this bug in thebes. -> WFM.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•