This topic describes the various checks that the FXRVALID utility performs.
This check makes sure all font IDs contain one of the following PostScript font names in the Font Name field for PostScript printing:
Courier |
Times-Roman |
Courier-Bold |
Times-Bold |
Courier-BoldItalic |
Times-Italic |
Courier-Oblique |
Times-BoldItalic |
Courier-BoldOblique |
Symbol |
Courier-Italic |
ZapfDingbats |
Helvetica |
Univers-Medium |
Helvetica-Bold |
Univers-Bold |
Helvetica-Oblique |
Univers-MediumItalic |
Helvetica-BoldOblique |
Univers-BoldItalic |
The FXRVALID utility tells you via an error message if the FXR file contains an invalid PostScript font name or does not contain a PostScript font. The message also tells you whether a fixed or proportional font will be used in place of the invalid typeface. The PDF printer driver will make the font substitution.
Note | Font IDs have either a fixed pitch or a proportional spacing value. If font substitution is required for fixed pitch fonts, Courier is typically used. If font substitution is required for proportional fonts, Helvetica is typically used. In addition, the stroke weight and style settings of the font ID are checked to see if bold or italic or bold and italic versions of these fonts should be used. |
This check compares the font height to the point size for each PostScript font in the FXR. A warning message appears for every font ID whose font height differs from the point size by a factor of 1/3 or greater. A warning also appears if the font height equals zero.
Note | If the font height and point size do differ by the factor of 1/3, the printer driver will use font height to determine point size. The FXRVALID utility does not determine point size in these situations. |
A warning appears for any font IDs whose CodePage field is not empty or is not set to 1004.
Note | The PDF printer driver uses the ANSI code page for text. Code page 1004 is the IBM code page which is equivalent to the ANSI code page. Some older version FXRs, built before the CodePage field was added to the FXR, have a blank in the CodePage field. |
This check makes sure the spacing value (fixed or proportional) of the font ID matches a PostScript font with an equivalent spacing style. If the spacing value does not match, a warning appears.
This check makes sure the font style (upright or italic) of the font ID matches a PostScript font with an equivalent font style. If a font ID specifies an italic style, a warning appears if the Font Name field does not contain a PostScript font name containing the word Italic or Oblique. If a font ID specifies an upright style, a warning appears if the Font Name field contains the word Italic or Oblique.
This check makes sure the font weight (bold or normal) of the font ID matches a PostScript font with an equivalent font weight. If a font ID specifies a bold style, a message appears if the Font Name field does not contain a PostScript font name which includes the word Bold and vice versa.
When grouping fonts, the utility performs these steps:
- Font spacing (proportional or fixed) is the same.
- Font style (italic or upright) is the same.
- Font family is the same.
- Font stroke weight (bold or non-bold) is the same.
- The percentage difference of the absolute width for every character within the user-specified range is not greater than the user-specified grouping threshold.
Note | Absolute width is defined as: the value in the width table divided by the point size. |
If there is no entry in the Font File field in the base font, the FXRVALID utility tries to find a Font File field in the group and use it as base font file. If none is found in the entire group, the Font File field in “OTH” entry for this group is left empty. It is your responsibility to fill in the Font File field in this situation. If you do not, the system may create an invalid PDF file.
In a Windows environment, you would enter:
FXRVALDW /I=rel121
In this example, FXRVALDW checks the font cross-reference file named rel121.FXR and creates an error file named rel121.ERR.
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.