Closed Bug 411745 Opened 17 years ago Closed 13 years ago

[BeOS] No images in postscript output.

Categories

(Core Graveyard :: GFX: BeOS, defect)

x86
BeOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sergei_d, Unassigned)

References

Details

If BeOS Mozilla is configured to print in postscript, output comes out without images.
draw_image in nsPostscriptObj gets null pointer to image data in GetBits:
http://lxr.mozilla.org/mozilla1.8/source/gfx/src/ps/nsPostScriptObj.cpp#2331

the reason is those image and alpha bits were removed in nsImageBeOS in call of Optimize() method:
http://lxr.mozilla.org/mozilla1.8/source/gfx/src/beos/nsImageBeOS.cpp#457

Maybe there is no reason to remove those bits in Optimize()?

(When that section is outcommented, postscript outputs images OK)
another solution is to replace LockImagePixels() stub with real code which recreates mImageBits
(and maybe also Unlock*** - to remove those)
setting dependency
Depends on: 412165
Blocks: 412168
Product: Core → Core Graveyard
We don't support BeOS any more.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
In the graveyard, code referred to doesn't exist to be fixed.
You need to log in before you can comment on or make changes to this bug.