Macro Language Reference > PIs > Text > <?tfqn>
  
<?tfqn>
Description
One of three PIs used to set a font from a font quicktable: <?tfqt> refers to the font quicktable in which to look, <?tfqn> refers to the font family number and <?tfqs> refers to the font style within that family.
From release 10, PTC ALD automatically creates a default QuickFont table, so that documents that want to use the QuickFont feature are no longer required to provide their own. This table will be identical to one generated by <?tqfautogen>, although without any style aliases such as “italic” or “bold.” If PTC ALD encounters a <?tfqn> command before a QuickFont table provided by the document has been activated using <?tfqt>, the automatically generated QuickFont table will be used.
 
Example 519. Set the font family number when using font quicktables
The example below shows the contents of a body style tag, with the font family number set to 1 and the font style number is set to 0:
<?0,1,0,0,0,1,0,0,1.2303,0,5><?tfqn=1>
<?tfqs=0>
The next example below shows a reference tag called Garamond. This is an example of an integer command, as it adds 2 on to the current font family number. In this case this refers to the Garamond font in the quicktable control stream.
<?tfqn=+2>
Syntax
<?tfqn family_num:n>
<?tfqn>
[no parameter]
Invoke the Font - quick number dialog box.
family_num
0-30
The font family number: a number between 0-30.
Additional Information
Fonts do not contain information about whether they are plain, bold, italic etc. The font quicktables feature of PTC ALD has been developed to increase flexibility and control over the selection and implementation of fonts. Font quicktables enable the creation and use of multiple control streams containing user defined font style mapping tables.
There is also a default quicktable built in to PTC ALD , which provides bold and italic styles for Times (font 1), and Arial (font 2). This negates the need to use the <?tfqt> command, leaving you to simply specify the <?tfqn> and <?tfqs> commands.
Related Links