Closed dreampiggy closed 4 years ago
This fix #24
The problem related not only the code logic, but also the offset on Geometry. The previous code only works for some cases SVG which have a (0,0) view port. However, if the start point is not (0,0), the generated bitmap is wrong.
Copy the code from https://github.com/SDWebImage/SDWebImagePDFCoder/blob/master/SDWebImagePDFCoder/Classes/SDImagePDFCoder.m#L188
This fix #24
The problem related not only the code logic, but also the offset on Geometry. The previous code only works for some cases SVG which have a (0,0) view port. However, if the start point is not (0,0), the generated bitmap is wrong.