New Forum | Previous | Next | (P-PDF) Developers
Topic: Fonts for form fields
Conf: (P-PDF) Developers, Msg: 113791
Date: 6/20/2004 09:30 PM
I am woking on a tool for creating PDF forms. My application lists all fonts available on the machine in a list box. The user selects an appropriate font and the application puts this font name in the /DA key along with the color and size information. Now if the font name does not contain spaces (eg "charcoal", "cochin" etc), Adobe Acrobat 6 recognizes the font name and uses it for the form field. If this font is not avaialable, it chooses an appropriate substitute for the font. However, if the font name contains a space (like "Chicago Bold Italic" or "Big Caslon") then Adobe Acrobat fails to recognize the font name and the form field looses its appearance settings.
I know that the proper way to handle font names is to embed font information in the PDF file itself, but I dont want to take that much trouble (atleast not for the time being).
Any help/advice on this issue will be much appreciated.