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
74:configure_font_for_process_visualization [2020/03/02 09:53] – [Trouble Shooting] pklr74:configure_font_for_process_visualization [2024/02/15 00:00] (current) – external edit 127.0.0.1
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 ====== +
- +
-  - 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" // +
- +
-====== Trouble Shooting ====== +
- +
-//If Option 2 doesn't work try adding the path you described as a JVW parameter: -Dsun.java2d.fontpath="c:/yourownfolder" // +
- +
-//*Empty your browser cache to make sure the new font is cached properly //+