-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on CGContextDrawPDFPage( ctx, page1 ); #28
Comments
Hi Azkaar. Thanks for the report. Can you give me a an Xcode backtrace? |
Hi Azkaar. I've made some code updates. Does it still crash? |
|
Hi @AzkaarAli, thanks for the back trace. The crash is in the Core Graphics PDF font loading code. Does the PDF render using Quick Look? Where did the PDF come from? |
same crash on CGContextDrawPDFPage( ctx, page1 ); |
Same crash for me,
This happens in very strange situations. Everything works okay, while I didn't reinstall app, after reinstall - ONLY this pdf file become corrupted. pdf file - http://s.oks.im//newsfeed-btn.pdf backtrace:
|
Hi. It's crashing when looking up the font glyphs to render. Does it crash in the same place each time? |
yep, same place, same time :) |
+1 |
The crashes are deep in CG PDF code, so I would recommend filing a Radar with Apple with a sample project that reproduces the issue. |
It could be a PDF file format issue. Try running the PDF through ShrinkIt: https://panic.com/blog/shrinkit-1-0/ to see if that helps. |
Hi!
Firstly, Thanks for this amazing library!
On iOS 8 app crahes on CGContextDrawPDFPage( ctx, page1 ); when i try to load Pdf into Image. I have tried different pdf files.
Please help!
The text was updated successfully, but these errors were encountered: