Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
74:configure_font_for_process_visualization [2020/03/10 16:34] – [Option 2] twn74:configure_font_for_process_visualization [2020/04/23 06:41] pklr
Line 1: Line 1:
-For configuration of the visualization font please choose one of the following options: 
  
-====== Option 1 [recommended] ====== 
  
-  - Place the font file in the folder webapp/fonts +  - Place the font file in the folder conf/fonts 
-  - Add the diagram.font.list property to your config.xml file in the following way: \\ <property name="diagram.font.list" value="Pacifico:/fonts/Pacifico-Regular.ttf"/> +  - Add the diagram.font property to your config.xml file in the following way: \\ <property name="diagram.font" value="Pacifico:Pacifico-Regular.ttf"/> 
-  - Update your scriptconfig.js like this: var FONTNAME = "Pacifico" +  - Make sure your scriptconfig.js of the metamodel contains the following code line: \\ var FONTNAME availableFontFamilies.getConfiguredFont(); 
- +  - Run update.bat
-//Caution: On update / upgrade your font file will be removed and this steps has to be redone.// +
- +
- +
-====== Option 2 ====== +
- +
-  - Set the JVM parameter to the path of your fonts folder: -Dsun.java2d.fontpath="c:/yourownfolder"+
-  - Place the font file in your own folder +
-  - Add the diagram.font.list property to your config.xml file in the following way: \\ <property name="diagram.font.list" value="Pacifico:C:/yourownfolder///Pacifico-Regular.ttf"/> // +
-  - //Update your scriptconfig.js like this: var FONTNAME = "Pacifico"//+