[BeOS] No images in postscript output.

RESOLVED INVALID

Status

Core Graveyard
GFX: BeOS
RESOLVED INVALID
10 years ago
7 years ago

People

(Reporter: Sergei Dolgov, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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)
(Reporter)

Comment 1

10 years ago
another solution is to replace LockImagePixels() stub with real code which recreates mImageBits
(and maybe also Unlock*** - to remove those)
(Reporter)

Comment 2

10 years ago
setting dependency
Depends on: 412165
(Reporter)

Updated

10 years ago
Blocks: 412168
(Assignee)

Updated

9 years ago
Product: Core → Core Graveyard
We don't support BeOS any more.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID

Comment 4

7 years ago
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.