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.
加载中,请稍侯......
精彩评论