Closed
Bug 91035
Opened 23 years ago
Closed 22 years ago
IBMBIDI define changes vtables, causes nastiness for embedders
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: ahc4, Assigned: mkaply)
Details
Attachments
(1 file)
The define IBMBIDI is made in config-defs.h. In nsDocument.h certain functions
are ifdef'd based on the value of IBMBIDI. This creates problems for embedders,
since config-defs.h is not distributed, so you have no idea whether it was on or
off during compilation, leading to possibly incorrect. IBMBIDI is on by default
now, so an embedder can just define IBMBIDI, but it can be explicitly turned
off, and this solution is not at all obvious when you have random segfaults in
nsDocument.
there's a bug to remove support for undefining IBMBIDI which leads me to think
this is wontfix.
Summary: IBMBIDI define changes vtables, causes nastiness for embedders → IBMBIDI define changes vtables, causes nastiness for embedders
Comment 2•23 years ago
|
||
Here's a patch that would have saved me many many hours if it had been
implemented when this bug was reported....
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
Ooops, patch above is incomplete though correct. nsIFrame, nsIPresContext,
nsIPresShell, nsIRenderingContext, and nsILineIterator all would need similar
attention. This last is nasty, IBMBIDI changes a fn signature. Can't find bug
number ref'd by timeless@mac.com above... if it's that easy I'll do it.
Comment 5•23 years ago
|
||
Sorry everybody, #89203 is (was) a work in progress to remove --disable-bidi.
Please consider the patch here a shot across the bow to reawaken it.
Comment 6•23 years ago
|
||
Marking nEW.
Comment 7•22 years ago
|
||
Duping to 89203.
*** This bug has been marked as a duplicate of 89203 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: giladehven → layout.fonts-and-text
You need to log in
before you can comment on or make changes to this bug.
Description
•