Apple 的“ZoomingPDFViewer”中的此错误是什么? CGContextDrawPDFPage 的代码示例: KSTFBB+Helvetica: FT_Load_Glyph 失败: 错误 133
我正在查看苹果的 ZoomingPDFViewer 示例(可从链接获取来源)。当它运行时,它会给出以下错误:
ZoomingPDFViewer[5751] <Error>: KSTFBB+Helvetica: FT_Load_Glyph failed: error 133.
It indicates on line 100
of ZoomingPDFViewer
:
CGContextDrawPDFPage(context, page);
有谁知道为什么会发生这种情况以及如何修复它?
I am looking at Apple's ZoomingPDFViewer example (source available from link). And when it runs, it gives this error:
ZoomingPDFViewer[5751] <Error>: KSTFBB+Helvetica: FT_Load_Glyph failed: error 133.
It happens on line 100
of ZoomingPDFViewer
:
CGContextDrawPDFPage(context, page);
Does anyone have any idea about why this is happening and how to fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此错误来自 Apple 用于绘制字体的 FreeType 库。
这基本上意味着 FreeType 无法加载字形,并且在绘制文本时该字形将被替换。
这个错误似乎不会造成任何伤害,也许可以安全地忽略。也许苹果工程师忘记取出 NSLog() 行。 :-)
This error comes from FreeType library that Apple uses to draw fonts.
It basically means that FreeType failed to load a glyph and that glyph will be substituted while drawing text.
This error doesn't seem to hurt anything and maybe safely ignored. Maybe an Apple engineer forgot to take out an NSLog() line. :-)