Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
74:configure_font_for_process_visualization [2020/04/17 12:12] – [Option 1 [recommended]] pklr | 74: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 | + | - Place the font file in the folder |
- | - Add the diagram.font.list property to your config.xml file in the following way: \\ < | + | - Add the diagram.font property to your config.xml file in the following way: \\ < |
- | - Update | + | - Make sure your scriptconfig.js of the metamodel contains |
- | - Add a font-face to your custom.css file like this: | + | - Run update.bat |
- | < | + | |
- | + | ||
- | @font-face { \\ font-family: | + | |
- | + | ||
- | //Note1: The unicode-range is completely optional and can be used in combination with a font splitt up into several .woff oder .woff2 files. // | + | |
- | + | ||
- | //Note2: Take care, you are using the appropriate format (e.g. .ttf -> truetype, .woff2 -> woff2 ...)// | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | //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=" | + | |
- | - Place the font file in your own folder | + | |
- | - Add the diagram.font.list property to your config.xml file in the following | + | |
- | - //Update your scriptconfig.js like this: var FONTNAME = " | + | |