Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:fonts [2023/03/10 09:36] – [Check metamodel settings] alz | install:fonts [2024/02/15 00:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to install the correct fonts ====== | + | ====== How to install the correct fonts (until Stages 7.9.6.1) |
- | ===== No asian charsets required ===== | + | This section describes the configuration to create PDF files and process visualizations according to the charset required. |
+ | |||
+ | |||
+ | ===== No asian charsets required | ||
If no asian charsets are required - the additional installation of fonts is not required. | If no asian charsets are required - the additional installation of fonts is not required. | ||
+ | |||
==== Define configuration properties ==== | ==== Define configuration properties ==== | ||
**Windows server OS:** \\ | **Windows server OS:** \\ | ||
- | Open file <Stages Installation Directory> | + | Open file <Stages Installation Directory> |
//< | //< | ||
Line 24: | Line 28: | ||
This is an example on how to check the correct font families to be defined in the unified configuration metamodel.\\ | This is an example on how to check the correct font families to be defined in the unified configuration metamodel.\\ | ||
- | If you use different metamodels - the path of the files to check will be different. | + | If you use different metamodels |
- | Open all *.css files specified in the following | + | Open all *.css files specified in the paths below and check for the following font family definition: |
+ | // | ||
**Windows server OS:** \\ | **Windows server OS:** \\ | ||
Line 33: | Line 38: | ||
/ | / | ||
- | Check each .css file for the following font family definition: //font-family: ' | + | Make sure the scriptconfig.js specified in the paths below is up to date and contains:\\ |
+ | //var FONTNAME = availableFontFamilies.getConfiguredFont(); | ||
+ | \\ | ||
+ | **Windows server OS:** \\ | ||
+ | <Stages Installation Directory> | ||
+ | **Linux server OS:** \\ | ||
+ | /opt/stages/ | ||
- | 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 | + | 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 |
Line 46: | Line 57: | ||
===== Asian charsets required ===== | ===== Asian charsets required ===== | ||
- | To use asian charsets - an additional font is required that supports the charset required. Method Park only provides one font that supports most asian charsets: | + | To use asian charsets - an additional font is required that supports the charset required. Method Park only provides one font that supports most asian charsets: |
Known Limitations: | Known Limitations: | ||
- | * SourceHanSans | + | * Source Han Sans doesn' |
- | * The alignment of text and/or the line spacing might be incorrect. | + | * The alignment of text and/or the line spacing |
We strongly suggest to install your own font - only supportig your required charset. If you do so - please adopt the font properties in the following sections according to your font requirements. | We strongly suggest to install your own font - only supportig your required charset. If you do so - please adopt the font properties in the following sections according to your font requirements. | ||
- | ==== Installation of required font ==== | + | ==== Install |
- | Please download | + | Please download font Source Han Sans to the following folder on your Stages server:\\ |
**< | **< | ||
\\ | \\ | ||
- | Font download source:\\ | + | Font download source: **Source Han Sans ** ([[https:// |
- | **Source Han Sans ** ([[https:// | + | |
[[https:// | [[https:// | ||
Line 71: | Line 81: | ||
Open file <Stages Installation Directory> | Open file <Stages Installation Directory> | ||
- | //< | + | //< |
< | < | ||
Line 78: | Line 88: | ||
Please add or modify the properties below according to your installation parameters: | Please add or modify the properties below according to your installation parameters: | ||
- | //< | + | //< |
- | < | + | < |
==== Check metamodel settings ==== | ==== Check metamodel settings ==== | ||
- | This is an example on how to check the correct font families to be defined in the unified configuration metamodel.\\ | + | This is an example on how to check the correct font families to be defined in the Unified Configuration Metamodel.\\ |
- | If you use different metamodels - the path of the files to check will be different. | + | If you use different metamodels |
- | Open all *.css files specified in the following | + | Open all *.css files specified in the paths below and check for the following font family definition: |
+ | // | ||
**Windows server OS:** \\ | **Windows server OS:** \\ | ||
Line 94: | Line 105: | ||
/ | / | ||
- | Check each .css file for the following font family definition: //font-family: ' | + | Make sure the scriptconfig.js specified in the paths below is up to date and contains:\\ |
+ | //var FONTNAME = availableFontFamilies.getConfiguredFont(); | ||
+ | \\ | ||
+ | **Windows server OS:** \\ | ||
+ | <Stages Installation Directory> | ||
+ | **Linux server OS:** \\ | ||
+ | /opt/stages/ | ||
- | 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 | + | 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 |