Functions Reference

Table Of Contents
FILEMAKER FUNCTIONS REFERENCE 234
Description
Spellings for font names must be correct and are case-sensitive. Text formatting options will be lost
if the field type that is returned is something other than text.
FileMaker Pro looks for a font that matches the specified font name and font script character set. If
no matches exist, FileMaker
Pro looks for a default font with the font script specified in the Fonts tab
of the Preferences dialog box. If this fails, then the
TextFont function uses the default font for the
system script specified in the Fonts tab of the Preferences dialog box. This font might not be the
same as the font script provided.
The following font scripts are available:
Roman
Greek
Cyrillic
CentralEurope
ShiftJIS
TraditionalChinese
SimplifiedChinese
OEM
Symbol
Other
Examples
TextFont(“Plaid”;“Courier”) returns the word Plaid in the Courier font.
TextFont(“Plaid”;“Arial”) returns the word Plaid in the Arial font.
TextFont(“Plaid”;“Arial”;Cyrillic) returns the word Plaid in the Arial font in the font
script of Cyrillic.
TextSize( TextFont( TextColor( MyTable::MyText; RGB( 0 ; 125 ; 125 ) );
"Courier" ) ; 12)
returns the text contained in MyTable::MyText formatted as 12pt. green text
with the Courier font.
Related topics
Contents
Functions reference (alphabetical list)
TextFontRemove
Purpose
Removes all fonts in text, or removes the font specified by fontToRemove or the combination of
fontToRemove and fontScript.
Format
TextFontRemove(text{;fontToRemove;fontScript})