Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580610 - net-print/poster doesn't draw cutmarks
Summary: net-print/poster doesn't draw cutmarks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-20 09:23 UTC by Dmitry Olyenyov
Modified: 2017-02-20 22:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
replaces string "0xFF" with "255" so atoi return 255 and not 0 (fix-cutmarks.patch,406 bytes, patch)
2016-04-20 09:23 UTC, Dmitry Olyenyov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Olyenyov 2016-04-20 09:23:58 UTC
Created attachment 431342 [details, diff]
replaces string "0xFF" with "255" so atoi return 255 and not 0

poster utility doesn't draw cutmarks by default because conversion from atoi("0xFF") is 0 and not 255

Simple patch is attached
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-02-20 22:01:19 UTC
Thanks, applied!


commit 967aa067e65cd5620f13aa5c34b591672491e5f2
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Mon Feb 20 23:00:34 2017 +0100

    net-print/poster: Add fix for bug 580610 by Dmitry Olyenyov
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1