Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 580610

Summary: net-print/poster doesn't draw cutmarks
Product: Gentoo Linux Reporter: Dmitry Olyenyov <dmitry.olyenyov>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: replaces string "0xFF" with "255" so atoi return 255 and not 0

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