Font directory

You can specify the integrated file system directory in which to search for font resources of a given technology.

You begin the syntax for font directories with the Font Directory Table (FNTDIRTBL) tag and end the syntax with the End Font Directory (EFNTDIRTBL) tag. The Font Directory Entry (FNTDIRE) tags between them list the directory that is to be searched for fonts of a given technology. Using the font directory tags, your source could look like the following example:

:FNTDIRTBL. 
      :FNTDIRE.... 
      :FNTDIRE.... 
:EFNTDIRTBL.

Font Directory Table (FNTDIRTBL) tag

The FNTDIRTBL tag defines the beginning of the font directory list. This tag must be followed by one or more FNTDIRE tags, which identify the directory where fonts of a given technology can be accessed. Only one FNTDIRE tag is allowed for each font technology. There are no parameters for this tag. The syntax follows:

:FNTDIRTBL.

Font Directory Entry (FNTDIRE) tag

The FNTDIRE tag defines the font resource to be embedded. One or more of these tags must follow the FNTDIRTBL tag. A set of FNTDIRE tags must be followed by the EFNTDIRTBL tag. The syntax follows:

:FNTDIRE 
      TECH= TYPE1 
      PATH = font directory path
Note: The last parameter value must end with a period (.).
TECH
This is a required parameter. This parameter specifies the technology of the font resources contain in the directory. The possible value is as follows.
TYPE1
This value indicates that this font directory entry should be used for Adobe Type1 fonts. The default directory for fonts of this technology is \QIBM\UserData\OS400\Fonts\Type1 .
PATH
This is a required parameter. This is a case-sensitive, null-terminated character string that specifies the path name that identifies the font directory. It is limited to 240 characters in length. The characters specified in this parameter must be limited to those in the ISO-8859-1 standard encoding.

End Font Directory (EFNTDIRTBL) tag

The EFNTDIRTBL tag is used to end a group of font directory entries in the customization source. There are no parameters on this tag. The syntax follows:

:EFNTDIRTBL.

Example

The following tags instruct the transform to search an alternate directory for Adobe Type 1 fonts.

:FNTDIRTBL. 	 
 :FNTDIRE 	          
      TECH = TYPE1 	          
      PATH = ‘/home/myfontdirectory'.  
:EFNTDIRTBL.

If the files associated with any specified fonts are not found in this directory, message CPDCE03 is logged and the font is not embedded.