I want a default font!
By Tim Dexter-Oracle on Jul 19, 2007
Hey, do you have users that want RTF output and they are not happy because fonts are not the right size when they open the document? If 'yes', read on - if 'no' check out another blog article, yesterday's took me ages and its pretty cool.
If you're still here. What I mean by the wrong size font is, say you created a template that has some blank space for someone to add more information into an RTF doc. They open the doc, enter the data but then find themselves having to change fonts, etc. It's not too bad for a single doc but say you are updating dunning letters all day, its going to get tedious very quickly. Well there is a property that was introduced in 5.6.2 (all flavors) that allows you to set a default font for the document.
This means that any empty cell in a table or position within the document where the user might want to add more information will have a default font set, the default is 'Arial 12 pt.' The property takes the format:
FontFamilyName:Size e.g. Arial:12
Now remember, if you choose some esoteric font that only you have on your machine then your users are not going to get the same font unless they have it in their fonts directory.
If you're using MSWord plugin or the Template Viewer use the config file.
For Template Builder you'll need to update the configuration file under the install directory
For Template Viewer you can put it in the second tab of properties.
Name - rtf-output-default-font Value Arial:20