Skip to content

size CompBuffer for dot-matrix expansion in rastertoepson#1613

Open
aizu-m wants to merge 1 commit into
OpenPrinting:masterfrom
aizu-m:rastertoepson-compbuffer-size
Open

size CompBuffer for dot-matrix expansion in rastertoepson#1613
aizu-m wants to merge 1 commit into
OpenPrinting:masterfrom
aizu-m:rastertoepson-compbuffer-size

Conversation

@aizu-m

@aizu-m aizu-m commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

size CompBuffer for the dot-matrix path in OutputLine, which writes one byte per pixel (cupsWidth) into a buffer StartPage only sized for the compressed line (cupsBytesPerLine), so a wide 1-bit page on a 9-pin/24-pin queue overruns the heap allocation by roughly three quarters of cupsWidth.

OutputLine writes one byte per pixel column (cupsWidth) into CompBuffer while StartPage only sized it for cupsBytesPerLine, so a wide low-bpp page sent to a dot-matrix queue overran the heap allocation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant