https://bugs.documentfoundation.org/show_bug.cgi?id=138122

--- Comment #97 from lupu...@web.de ---
(In reply to Tor Lillqvist from comment #94)
> How can that work? Surely correspondingly more space must be allocated for
> the pRawData in that case, too? The docs for CGBitmapContextCreate say:
> 
> data
> A pointer to the destination in memory where the drawing is to be rendered.
> The size of this memory block should be at least (bytesPerRow*height) bytes.
> 
> and the "height" parameter we pass with such a change is nDY * fScale, and
> bytesPerRow is (mnBitmapDepth * nDX) / 8, i.e. nDX * 4.

The interesting thing is: I get an error in the console:
'CGBitmapContextCreate: invalid data bytes/row: should be at least ...'

If I then say 

const int nBytesPerRow = (mnBitmapDepth * nDX * fScale) / 8;

instead of

const int nBytesPerRow = (mnBitmapDepth * nDX) / 8;

the text gets blurred again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to