beautypg.com

Setting environment variables, Specifying cmaps for pdwordfinder use – Adobe V6 User Manual

Page 44

background image

3 . 6

A d o b e P D F L ib r a ry In s ta ll a ti o n G u i d e

Setting Environment Variables

Resources must be specified by the methods presented in the Adobe PDF Library Overview manual. It is

assumed that the resource specification will point to all necessary resources for the job.

S p e c i f y i n g C M a p s f o r

P D W o r d F i n d e r

U s e

In particular, you should ensure that your application can find useful CMap files via its

ACRO_RES_DIR

definition whenever using

PDWordFinder

to extract text from a document. Especially in the case of

CIDType0 fonts, a /ToUnicode table is not always included, and so the Adobe PDF Library should have

access to the Adobe-supplied "

UCS2-...

" CMaps in order to achieve a conversion from a multibyte

format to a Unicode one.

NOTE: Beginning with Adobe PDF Library v6.0.0Plus and DLI v3.0, the Resource

folder names

\Resource\CMaps

and

\Resource\Fonts

have been

renamed to the singular forms

\Resource\Cmap

and

\Resource\Font

respectively. Applications built under Adobe PDF Library v5.x or earlier which

reference these folders by name must be updated for use with the v6.x releases.