Both sides previous revisionPrevious revisionNext revision | Previous revision |
install:fonts [2023/03/10 09:51] – [Install required font] alz | install:fonts [2024/02/15 00:00] (current) – external edit 127.0.0.1 |
---|
====== How to install the correct fonts ====== | ====== How to install the correct fonts (until Stages 7.9.6.1) ====== |
| |
This section describes the configuration to create PDF files and process visualizations according to the charset required. | This section describes the configuration to create PDF files and process visualizations according to the charset required. |
| |
**Windows server OS:** \\ | **Windows server OS:** \\ |
Open file <Stages Installation Directory>\stages\conf\config.xml and check the poperties section on top for the following properties and values. Please add or modify the properties below according to your installation parameters: | Open file <Stages Installation Directory>\stages\conf\config.xml and check the properties section on top for the following properties and values. Please add or modify the properties below according to your installation parameters: |
| |
//<property name="pdf.font.list" value="//<Stages Installation Directory>\//stages\tomcat\webapps\stages\fonts\SourceSansPro-Regular.ttf"/>\\ | //<property name="pdf.font.list" value="//<Stages Installation Directory>\//stages\tomcat\webapps\stages\fonts\SourceSansPro-Regular.ttf"/>\\ |
/opt/stages/data-cache/generated/model/unified_configuration/diagram/trunk/configs/scriptconfig.js | /opt/stages/data-cache/generated/model/unified_configuration/diagram/trunk/configs/scriptconfig.js |
| |
Please note: This is a temporary fix only - every update of the Stages configuration would revoke your changes. So we strongly suggest to also fix this in your metamodel file (.mm). If you need further help to do so - please contact your Stages product consultant or the Stages support team at Method Park. | Please note: This is a temporary fix only - every update of the Stages configuration would revoke your changes. So we strongly suggest to also fix this in your metamodel file (.mm). If you need further help to do so - please contact your Stages Product Consultant or the Stages Support team at Method Park. |
| |
| |
Open file <Stages Installation Directory>\stages\conf\config.xml and check the poperties section on top for the following properties and values. Please add or modify the properties below according to your installation parameters: | Open file <Stages Installation Directory>\stages\conf\config.xml and check the poperties section on top for the following properties and values. Please add or modify the properties below according to your installation parameters: |
| |
//<property name="pdf.font.list" value="// <Stages Installation Directory>//\stages\tomcat\webapps\stages\fonts\SourceHanSans-Regular.ttf"/>\\ | //<property name="pdf.font.list" value="// <Stages Installation Directory>//\stages\conf\fonts\SourceHanSans-Regular.ttf"/>\\ |
<property name="diagram.font" value="Source Han Sans:SourceHanSans-Regular.ttf"/>// | <property name="diagram.font" value="Source Han Sans:SourceHanSans-Regular.ttf"/>// |
| |
Please add or modify the properties below according to your installation parameters: | Please add or modify the properties below according to your installation parameters: |
| |
//<property name="pdf.font.list" value="/opt/stages/tomcat/webapps/stages/fonts/SourceHanSans-Regular.ttf"/>\\ | //<property name="pdf.font.list" value="/opt/stages/conf/fonts/SourceHanSans-Regular.ttf"/>\\ |
<property name="diagram.font" value="Source Sans Pro:SourceHanSans-Regular.ttf"/>// | <property name="diagram.font" value="Source Han Sans:SourceHanSans-Regular.ttf"/>// |
| |
| |
/opt/stages/data-cache/generated/model/unified_configuration/diagram/trunk/configs/scriptconfig.js | /opt/stages/data-cache/generated/model/unified_configuration/diagram/trunk/configs/scriptconfig.js |
| |
Please note: This is a temporary fix only - every update of the Stages configuration would revoke your changes. So we strongly suggest to also fix this in your metamodel file (.mm). If you need further help to do so - please contact your Stages product consultant or the Stages support team at Method Park. | Please note: This is a temporary fix only - every update of the Stages configuration would revoke your changes. So we strongly suggest to also fix this in your metamodel file (.mm). If you need further help to do so - please contact your Stages Product Consultant or the Stages Support team at Method Park. |
| |
| |