To add a new font family for use in HCR (Helical Canned Reports) in Helical Insight 6.0, follow the steps below:
1. Download the Font:
Obtain the font you wish to use (e.g., .ttf files) and place them in a folder on your host machine.
2. Place Font in a Directory:
For example, if you downloaded the Sarabun font, place it in a directory such as:
/home/helical/Performance/dockerHI/Sarabun
3. Modify docker-compose.yml:
Navigate to your Helical Insight installation directory and open the docker-compose.yml file.
4. Add Volume Mount for Fonts:
Under the appropriate service (typically the one running the report engine), add a volume binding to mount the font folder into the Docker container. Example:
volumes:
- type: bind
source: “/home/helical/Performance/dockerHI/Sarabun”
target: “/usr/share/fonts/Sarabun”
5. Restart the Docker Application:
Run the following command to apply the changes:
docker-compose down
docker-compose up -d
6. Verify in Canned Reports:
Open the Canned Report Designer. The newly added font (e.g., Sarabun) should now appear in the font list when editing text components.
Note: You may also need to clear the browser cache or restart your browser for the font to be fully reflected.
Thanks.