Brian Dunning's FileMaker Custom Functions

GetFontFamily ( text )

Returns the font of a text

  Average rating: 4.4 (29 votes) Log in to vote

Joe Gold   Joe Gold - Show more from this author
Angel City Data
http://www.angelcitydata.com

Share on Facebook Share on Twitter

  Sample input:
GetFontFamily( FirstName)
  Sample output:
Arial

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the font of a text

 

Comments

NeuronNerd   NeuronNerd, Smithfield
Jun 27, 2011
This seems simple enough, but on implementation, I get nothing. I've tried putting fields names as well as typing text in quotes, and nothing. Any ideas? This will be perfect for me if I get it to work.
 
Joe Gold   Joe Gold, Angel City Data
Jun 27, 2011
It only works when a font is explicitly chosen. So if you highlight the text, and choose Arial, then the fucntion should return Arial. If you simply type text, and don't choose any font, the function doesn't work.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: