开发者

Extracting font data with CGPDFScanner

I'm using CGPDFScannerto scan PDF. When the scanner encounters something like:

BT
/F13 12 Tf 288 720 Td (ABC) Tj
ET

I use operator callbacks to extract the Tf, Td and Tj data. How do I extract开发者_如何学运维 /F13?


It's a name, a special form of string, usually used as dictionary keys. You can pop it with CGPDFScannerPopName. The information about the actual font is contained in the page's Resources dictionary, which contains a Font dictionary.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜