Added outline size and outline color support for creator text chunks (which are the building blocks of styled paragraphs). [UP-194]
Added CMYK color support for all components in the creator package. [UP-194]
Improved color support for all the geometric shapes defined in the contentstream/draw package. [UP-194]
Improved Type 3 font text extraction support [UP-118]
PageProcessCallback added with error passback for PdfReader.ToWriter of PageCallback [UP-193]
Concurrency map access fixes [USD-60]
Fix core.DCTEncoder.EncodeBytes for GrayScale images [UP-192]
NOTE: all the model.PdfColorDeviceRGB fields have been changed to the model.PdfColor interface in order to support colors defined in different color spaces (e.g. model.PdfColorDeviceRGB, model.PdfColorDeviceGray, PdfColorDeviceCMYK, etc.).
Most code bases should not be affected and everything should continue to work without any changes. However, due to the use of an interface, there is a low chance of a breaking change in the draw package where the methods of the model.PdfColorDeviceRGB struct are used in the context of the shape color fields (e.g. Rectangle.FillColor.R()) will have to be type asserted (Rectangle.FillColor.(*model.PdfColorDeviceRGB).R()).
UniPDF v3.21.0
PageProcessCallback
added with error passback forPdfReader.ToWriter
ofPageCallback
[UP-193]NOTE: all the model.
PdfColorDeviceRGB
fields have been changed to themodel.PdfColor
interface in order to support colors defined in different color spaces (e.g.model.PdfColorDeviceRGB
,model.PdfColorDeviceGray
,PdfColorDeviceCMYK
, etc.).Most code bases should not be affected and everything should continue to work without any changes. However, due to the use of an interface, there is a low chance of a breaking change in the
draw
package where the methods of themodel.PdfColorDeviceRGB
struct are used in the context of the shape color fields (e.g.Rectangle.FillColor.R()
) will have to be type asserted (Rectangle.FillColor.(*model.PdfColorDeviceRGB).R()
).