Up: Text Style  Next: Font Size  

Font Family

Use Edit->Text->Font Style->Family to change just the font family for selected text areas or text-paths. To change the current font family to apply to new text areas, use Settings->Styles and select the tab labelled Font.

The drop-down list labelled Font Family (see Figure 9.15) provides a list of locally available fonts. You can select the required font from this list.

Figure 9.15: Setting the Font Family

When you select a font family, FlowframTk guesses at the appropriate LaTeX font family declaration. This is used if you export your image as a LaTeX file. If FlowframTk has guessed incorrectly, you can select a different command from the combo box on the right, or you can edit it if you require a font family declaration that is not listed. Alternatively you can clear the value (by deleting the family declaration) to use the current document font family.

Note that FlowframTk only guesses at a LaTeX alternative when you select a new font family from the Font Family drop-down list. If there is a particular mapping that you always want, you can create a file called latexfontmap.prop in FlowframTk's configuration directory. Each line in this file should be in the form:

<font name>=<LaTeX declaration>

where <font name> is the name of the font family (e.g. URW Chancery L) and <LaTeX declaration> is the code9.1 used to set the font in a LaTeX document. Blank lines or lines starting with a hash (#) are ignored. For example, on my computer I have the font "URW Chancery L". If I select this font, the LaTeX equivalent will default to \rmfamily. However, it would be more appropriate for the LaTeX declaration to select the PSNFSS chancery font. Therefore, I can use my favourite text editor to create a file called latexfontmap.prop with the line

URW Chancery L=\fontfamily{pzc}\selectfont
and save it in FlowframTk's configuration directory. Next time I start FlowframTk, it will load this mapping and use it whenever I select "URW Chancery L" from the font name selector. Alternatively, you can use a regular expression. For example:
This will select \fontfamily{pzc}\selectfont for any font that contains either "Chancery" or "chancery" in its name. It is however faster to use the exact name.

See also:


... code9.1
This code should be in the form of a declaration (sets the font "from this point onwards") not a text block command (a command that sets its argument in the given font).

Up: Text Style  Next: Font Size  

© 2014 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs