Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
74:configure_font_for_process_visualization [2020/04/22 16:02] – [Option 1 [recommended]] pklr | 74: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: | ||
- | ====== Configuring Font ====== | ||
- Place the font file in the folder conf/fonts | - Place the font file in the folder conf/fonts | ||
- Add the diagram.font property to your config.xml file in the following way: \\ < | - Add the diagram.font property to your config.xml file in the following way: \\ < | ||
+ | - Make sure your scriptconfig.js of the metamodel contains the following code line: \\ var FONTNAME = availableFontFamilies.getConfiguredFont(); | ||
- Run update.bat | - Run update.bat | ||
- | |||
- | |||
- | ====== 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 way: \\ < | ||
- | - //Update your scriptconfig.js like this: var FONTNAME = " | ||
- | < | ||
- | @font-face { | ||
- | |||
- | font-family: | ||
- | font-style: normal; | ||
- | font-weight: | ||
- | font-display: | ||
- | src: local(' | ||
- | unicode-range: | ||
- | } | ||
- | |||
- | </ | ||
- | |||
- | 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 …)// | ||
- | |||
- | //Note3: On update / upgrade your font file will be removed and this steps has to be redone.// | ||