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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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’sResourcesdictionary, which contains aFontdictionary.