Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: TEXT RECOGNITION PROBLEM
Conf: (P-PDF) Developers, Msg: 139193
From: ved_jai
Date: 9/9/2005 04:30 PM

Hi all.
This is a text related problem I am facing.
I have a PDF file which has been created Acrobat Distiller 4.05 for
Windows. This file contains a few fonts out of which the fonts concerned
with my problem is having the following values :

* the font reference is named G1
BaseFont - Ryumin-Light-Identity-H
Encoding - Identity-H
DescendantFonts -
CIDSystemInfo - Ordering - Japan1
Registry - Adobe
Supplement - 2
FontDescriptor - Flags - 6
other values are also given.
other values are given like W, DW, Type and Subtype

Now the problem is that the text to which this font is applied to is given in
Tj. This text string is given in Octal values. When I read through the PDF
Reference Manual, it is informed that we can get special characters like
(\0053) which denotes 2 characters - \005 which is Control-E and the
digit 3.

I presume this is the similar kind of string that I am getting in my text
string. I have sampled out some of this below. The text string like
(\002y), (\016\275\r\256\003w\b\370) and (\b\242\013\325\002y) can't
be understood by me.

My question is how do I understand these characters and propably find
some value which is a know text format (ASCII or UNICODE). I cannot
interpret these text strings.
Please help me with this regards.

Thanks for giving a look at the problem I am having and trying to help
me out.
Regards
Jai Praful Ved

Sample :

BT
/CS1 cs 0 0 0 scn
1 i
/RelativeColorimetric ri
/R12 gs /G1 1 Tf 0 Tc 0 Tw 0 Tr
10.56 0 0 10.56 46.2406 769.6403 Tm
[(\005C\007y\n\222)11.4(\b\242\013\325\002y)11.4(\0177\002y)11.4(\
002y)]TJ
-0.0227 -0.0227 Td
[(\005C\007y\n\222)11.4(\b\242\013\325\002y)11.4(\0177\002y)11.4(\
002y)8943.1(\005C\007y\n\222)11.4(\b\242\013\325\002y)11.4(\0177\0
02y)11.4(\002y)]TJ
0 0.0227 TD
[(\005C\007y\n\222)11.4(\b\242\013\325\002y)11.4(\0177\002y)11.4(\
002y)]TJ

/G1 1 Tf
0.5114 0 Td
(\002y\002y)Tj
-0.0227 -0.0227 Td
[(\002y\002y)1977.3(\002y\002y)]TJ
T*(\002y\002y)Tj

/G1 1 Tf 0 Tc
2.5114 0 Td
(\002y)Tj
-0.0227 -0.0227 Td
[(\002y)977.3(\002y)]TJ
T*(\002y)Tj
15.96 0 0 15.96 204.1606 769.6403 Tm
[(\tE)7.5(\016\275\r\256\003w\b\370)-7.5(\003`\fs)
-7.5(\007\246\r\307)-7.5(\n\003\ne)-7.5(\t{)]TJ
-0.015 -0.015 Td
[(\tE)7.5(\016\275\r\256\003w\b\370)-7.5(\003`\fs)
-7.5(\007\246\r\307)-7.5(\n\003\ne)
-7.5(\t{)12007.5(\tE)7.5(\016\275\r\256\003w\b\370)-7.5(\003`\fs)
-7.5(\007\246\r\307)-7.5(\n\003\ne)-7.5(\t{)]TJ
0 0.015 TD
[(\tE)7.5(\016\275\r\256\003w\b\370)-7.5(\003`\fs)
-7.5(\007\246\r\307)-7.5(\n\003\ne)-7.5(\t{)]TJ
10.56 0 0 10.56 396.1606 769.6403 Tm
(\002y)Tj
-0.0227 -0.0227 Td
[(\002y)977.3(\002y)]TJ
0 0.0227 TD
(\002y)Tj
..............................

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.