Font Attributes not correct?

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
calle
Posts: 6
Joined: Tue Nov 04 2008

Font Attributes not correct?

Post by calle »

Hi!

I develop software in Delphi (and use the ActiveX version 4.0.0.9 of PDF creator). I can't get the font info correct for documents.

I simply loop through the Fonts Array: aPDF_Doc.ObjectAttribute['Document', 'Fonts'].

See this example below: (It seems that embedding value isn't correct. Also font name shows strange behavior.

Adobe shows:
ArialMT (Embedded Subset)
Type: Type 1
Encoding: Custom

Kompan (Embedded Subset)
Type: Type 1 (CID)
Encoding: Identity-H

Amyuni gets this:
OriginalName: JBIMFC+ArialMT
FontName: JBIMFC+ArialMT
BaseName: (none)
FontType: Type1
Embedding: 2
IsWinAnsiEncoding: False
System: False
HasCharMap: True
Encoding: Custom
Processed:

OriginalName: Kompan-Identity-H
FontName: Kompan-Identity-H
BaseName: (none)
FontType: Type0
Embedding: 0
IsWinAnsiEncoding: False
System: False
HasCharMap: False
Encoding: Identity-H
Processed:
Post Reply