Tags: UberKitten/postscriptbarcode
Tags
* Input validation was hardened across all encoders, including data l… …ength checks, empty data rejection, and implementation limit guards for large allocations. * The renderers now validate their input structures and the text renderer handles single-character justify alignment correctly. * All resources now clean up the dictionary stack when an error is raised, preventing dict stack leaks in caller contexts. * Renderer error handling was improved: correct graphics state restoration, operand stack cleanup for invalid colors, and redundant gsave/grestore removal from composite rendering paths. * Raw mode input validation was improved for Code 128, Code 16K, Data Matrix, PosiCode, Ultracode, PDF417 and Micro PDF417, including ^NNN format and codeword range checks. * Data exceeding the maximum symbol capacity is now rejected during encoding for QR Code, Data Matrix, Code One, PDF417 and JAB Code. * Codablock F, Code 16K and the matrix renderer now handle large symbols without overflowing the operand stack. * GS1 input validation was improved for DataBar Expanded, DataBar Stacked Omnidirectional, GS1 Composite Component and GS1 North American Coupon. * JAB Code now validates eclevel, mask, colors, rows and columns options. PRNG constants now avoid integer literals exceeding the signed 32-bit range.
* The AusPost encoder now supports FCC 87 (Routing) and FCC 92 (Redir… …ection) barcodes. * The renderers now support a `default_inkspread` global context setting.
* The GS1 AI linter was realigned with the latest release of the GS1 … …Syntax Dictionary. * User option validation was improved for the Codablock F, Code 16K, Code 49, Micro PDF417 and PDF417 encoders. * User option validation was improved for the linear, matrix and maximatrix renderers.
* The encoder for DotCode was fixed to ensure a minimum symbol dimens… …ion when the opposite dimension is large. * The performance of the PDF417, Micro PDF417, Code One, OneCode, Data Matrix and GS1 Composite Component encoders was improved.
* The time to generate error correction polynomials was improved usin… …g a FIFO cache for the QR Code, Data Matrix, PDF47, Micro PDF417, MaxiCode, Dot Code, Han Xin and Ultracode symbologies. * The performance of the Code 128, Codablock F, Posicode and Code 16K encoders was improved.
* Stack leaks during error handling were fixed for the Data Matrix, P… …DF417, Micro PDF417, ISBN, ISMN, AusPost and Telepen symbologies.
* The performance of generating the error correction codewords for Au… …sPost symbols was improved. * Several stack leaks were fixed for GS1 AI and DL data processing. * The debug and dontdraw options of all encoders must now be enabled using a pair of global switches.
* The performance of generating the error correction codewords for Az… …tec Code, Han Xin Code, QR Code, Data Matrix, Code One, Maxicode, PDF417, Micro PDF417, Ultracode symbols was improved.
* The Ultracode encoder was fixed so that colours are correctly selec… …ted for rendering.
PreviousNext