Previous | Next | (P-PDF) Developers
Topic: Is there a standard mapping for standard fonts
Conf: (P-PDF) Developers, Msg: 31793
From: markee
Date: 12/19/2001 08:43 AM
On 12/19/2001 8:37:00 AM, aandi wrote:
>Although fonts like Courier
>are in some sense standard,
>they are never implicit. When
>you refer to a font in the
>contents stream, it is a
>reference to a name in the
>Resources dictionary, and
>through that to an actual font
>dictionary in the file. These
>names can be anything, not
>just F1, F2 though you might
>often see this. The base 14
>fonts do not require a Font
>Descriptor, nor do they need
>to be embedded to display
>properly; this does make them
>much simpler to work with.
Thanks Aandi. I've got a document which includes the
info below for fonts. I am trying to work out where the
font info comes from (ie widths).
I was guessing they were just changing the names of
default fonts but that does not seem to fit.
WHat is the correct answer?
MArk
8 0 obj
<<
/Type /Font
/Subtype /TrueType
/Name /F1
/BaseFont /Arial
/Encoding /WinAnsiEncoding
>>
endobj
9 0 obj
<<
/Type /Font
/Subtype /TrueType
/Name /F2
/BaseFont /TimesNewRoman
/Encoding /WinAnsiEncoding
>>
endobj