Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. Upload custom JavaScript to dynamically load custom fonts to each application or on the tenant level. The custom fonts must be available to the HTML document containing the form. Typically custom fonts can be added dynamically with JavaScript.  The exact JavaScript may vary based on the font. Contact the vendor for the correct JavaScript for the custom font(s) that you are using. 

    titleClick here for an example of custom JavaScript that will load the Google Roboto condensed and the trial Century Schoolbook Roman fonts when added to the tenant.
    Code Block
    // frevvo custom JavaScript
    var TenantCustomEventHandlers = {
    	fontsLoaded: false,
    	setup: function (el) {
    		if (!this.fontsLoaded) {
    			// Load Roboto Condensed font
    			// Load trial Century Schoolbook.  The following js was generated by myfonts using the
    			// free trial option.  With this you can put markup in message controls like the following:
    			// <h1 style="font-family: 'Century Schoolbook Roman';">Header looks great</h1>
    			(function() {
    		        var trial = document.createElement('script');
    		        trial.type = 'text/javascript';
    		        trial.async = true;
    		        trial.src = '
    		        var head = document.getElementsByTagName("head")[0];
    		    this.fontsLoaded = true;
    	addStyleSheetToDoc: function (href) {
    		// don't load it again if it's already there
    		var ss = document.styleSheets;
    	    for (var i = 0, max = ss.length; i < max; i++) {
    	        if (ss[i].href == href)
    		if (document.createStyleSheet) {
    		} else {
    			var l = document.createElement("link");
    			l.rel = "stylesheet";
    			l.href = href;
  2. Stop
  3. Navigate to <frevvo-home>\tomcat\conf.
  4. Edit the file
  5. Add the frevvo.message.rte.extra.fonts property with a value listing the extra fonts in this format:
    1. Each font in the list is delimited by a semi-colon.
    2. The font itself must be identified by its name in single quotes. Prefix the font name with an optional display name, if desired. Separate the display name from the font name by a forward slash. The display name is used in the font drop down of the Rich Text Editor. If the display name is not provided, the actual font name will be used. 

      Code Block
      titleExample of the Configuration property for Custom Fonts
      frevvo.message.rte.extra.fonts=Century Schoolbook Roman/'Century Schoolbook Roman';Roboto/'Roboto', sans-serif

    3. The font names and font type (sans-serif) on the right side of the equal sign in the example above came from the vendor. Contact the font vendor for the correct information for the custom font(s) that you are using.

  6. Save the file.
  7. Restart
  8. Login as a designer user.
  9. Create/Edit an Application
  10. Create/Edit a Form
  11. Drag and Drop a Message control into your form.
  12. Enable the Rich Text Editor of the Message control by sliding the Rich Text toggle to the right.
  13. Click to show the Rich Text Editor menu
  14. Click on the Font dropdown in the toolbar.
  15. Custom fonts are appended to the standard supported fonts.