安德罗妮

Results 4 comments of 安德罗妮

I had the same problem, and I modified the code myself to keep it from crashing ``` for(NSString *key in pathAttrs) { if(![pathAttrs[key] isKindOfClass:[NSString class]]) { // Color [svg appendFormat:@"...

Other SVG Settings include: fill-rule If no difference is made, the filling effect will be different. The corresponding CALayer also has the fillRule attribute, hoping to add compatibility.

I want to error from https://github.com/pocketsvg/PocketSVG/commit/42078d1040cb35b45d9af167ad3aa88d8e69e4f2 to submit the while loop line 542 from the beginning. You can test the butterfly svg in my attachment, parsing it will lose some...

> 我确认,SVG 解析在 2.7.3 版中已损坏。 ![IMG_0006](https://private-user-images.githubusercontent.com/7680519/297137486-d652338c-525c-4d30-a30d-4110d0a7ec0c.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDg2ODYwMTIsIm5iZiI6MTcwODY4NTcxMiwicGF0aCI6Ii83NjgwNTE5LzI5NzEzNzQ4Ni1kNjUyMzM4Yy01MjVjLTRkMzAtYTMwZC00MTEwZDBhN2VjMGMuUE5HP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMjNUMTA1NTEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDZhZWE0YzRhM2Q1ZTdlMzdlY2ZkYjMxZTYyNjM5NTM1YThlYmRjZDM1NmY2MjZkNmNiM2FjOWMxMzViNDVjNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.etoSJA5h0k6HNhu17TQ_P6XSncLHNA0PkEb8glroXCk) I changed the line:542~557 of the SVGEngine.mm file back to before and everything worked fine