Download FrameMaker MIF Reference Guide
Transcript
ADOBE FRAMEMAKER 69 MIF Reference When the MIF interpreter reads a Font statement, it continues using the character format properties until it either reads another Font statement or reads the end of the Para statement. You can set the character format back to its previous state by providing an empty FTag statement. A Font statement that does not supply all property substatements inherits the current font state for those properties not supplied. For more information about creating and applying character formats in a MIF file, see “Creating and applying character formats” on page 23. For more information about character formats in general, see your user’s manual. Usage of some aspects of the PgfFont and Font statements is described in the following sections. Locked fonts and text insets The FLocked statement does not correspond to any setting in the Character Designer. The statement is used for text insets that retain formatting information from the source document. If the <FLocked Yes> statement appears in a specific character format, that character format is part of a text inset that retains formatting information from the source document. The character format is not affected by global formatting performed on the document. If the <FLocked No> statement appears in a specific character format, either that character format is not part of a text inset, or that character format is part of a text inset that reads formatting information from the current document. The character format is affected by global formatting performed on the document. For more information about text insets, see “Text insets (text imported by reference)” on page 137. Font name When a PgfFont or Font statement includes all of the family, angle, weight, and variation properties, FrameMaker identifies the font in one or more of the following ways: • • The statement FPlatformName specifies a font name that uniquely identifies the font on a specific platform. • The statement FPostScriptName specifies the name given to a font when it is sent to a PostScript printer (specifically, the name that would be passed to the PostScript FindFont operator before any font coordination operations). The PostScript name is unique for all PostScript fonts, but may not be available for fonts that have no PostScript version. The statements FFamily, FAngle, FWeight, and FVar specify how FrameMaker stores font information internally. For complete font specifications, FrameMaker always writes the FFamily, FAngle, FWeight, FVar, and FPostScriptName statements. In addition, the Windows version of FrameMaker also writes the FPlatformName statement. A UNIX version of FrameMaker ignores FPlatformName. When FrameMaker reads a MIF file that includes more than one way of identifying a font, it checks the font name in the following order: 1 Platform name 2 Combination of family, angle, weight, and variation properties 3 PostScript name If you are writing filters to generate MIF, you do not need to use all three methods. You should always specify the PostScript name, if it is available. You should use the platform name only if your filter will be run on a specific platform. A filter running on a specific platform can easily find and write out the platform name, but the name cannot be used on other platforms. Font encoding The <FEncoding> statement specifies which encoding to use for a font. The default is Roman, or standard 7-bit encoding. If this statement is not included for a font, 7-bit encoding is assumed.