Hi All,
We are currently trying to use the BitBltSimulation (VMMaker.oscog-topa.2418) instead of the native BitBltPlugin. We ran into problems when trying to access a font form via e.g. StrikFont class >> #dejaVuSansBold9Form
. We traced the issue down to PNGReadWriter >> copyPixelRGB:
at which point the correctly decoded image data is copied via BitBlt into the target form. This blt operation appears to be faulty for the BitBltSimulation.
When executing
StrikeFont dejaVuSansBold9Form asMorph openInWorld.
using the native BitBlt we generated the correct form:
As soon as we change to the BitBltSimulation (by e.g. changing the message copyBits in PNGReadWriter >> copyPixelRGB:
to copyBitsSimulated), the output changes to a completely transparent form. If we then set the alpha channel for our output image to 255 we see the following:
It seems to us that the correct image data is somehow stretched and offset during the blting.
-- Stephan