Hi there,
I understand that version 8.3.0 is still in beta, and I appreciate the ongoing work being done. I’ve been trying to get custom fonts working, but I’m running into some trouble and could use a bit of guidance.
I noticed that the documentation provides helpful details on including CSS files in themes, but I couldn’t find any examples specifically related to fonts. Just to make sure I’m on the right track, here’s what I’ve done so far:
- I created a custom font called “TestFont” using the following HTTP POST request (based on the Postman API collection):
POST /data/api/v1/resources/com.inductiveautomation.perspective/fonts HTTP/1.1
Host: localhost:8088
Content-Type: application/json
Accept: application/json
X-Ignition-API-Token: <GIVEN TOKEN>
Content-Length: 170
[{
"name": "TestFont",
"collection": "core",
"enabled": true,
"description": "Custom font for branding",
"config": {},
"backupConfig": {}
}]
-
This created the folder:
C:\Program Files\Inductive Automation\Ignition\data\config\resources\core\com.inductiveautomation.perspective\fonts\TestFont
-
I copied the font file
TestFont-Regular.woff2
into that folder. -
I edited the resource file to include the font file in the
data
section: -
I ran a “Scan File System” on the gateway.
-
I opened the Designer to check if “TestFont” appeared in the font dropdown, but it didn’t. I also tried manually entering the name, but it still wasn’t recognized.
-
I restarted the gateway, but unfortunately, the font still didn’t show up.
I even repeated steps 1–7 and tried updating the font file using Postman instead of editing the resource manually:
PUT /data/api/v1/resources/datafile/com.inductiveautomation.perspective/fonts/TestFont/TestFont-Regular.woff2?signature=b9aa0590835681b6f23e618323fdbd352d58fc0b57aaffb3e8cbcd211ee9ab69 HTTP/1.1
Host: localhost:8088
Content-Type: */*
Accept: application/json
X-Ignition-API-Token: <GIVEN TOKEN>
Despite all this, I haven’t had any success getting the font to appear. If I’ve missed something or misunderstood a step, I’d really appreciate any clarification or suggestions you might have.
Thanks so much in advance!