Fixed
Details
Assignee
Alan HarnumAlan HarnumReporter
Simon BatesSimon BatesComponents
Priority
Major
Details
Details
Assignee
Alan Harnum
Alan HarnumReporter
Simon Bates
Simon BatesComponents
Priority
Created January 14, 2019 at 2:58 PM
Updated July 19, 2024 at 12:07 PM
Resolved July 29, 2019 at 5:56 PM
In the NPM package of Infusion, we include a
dist
directory with builds of Infusion and built assets, such as generated CSS files.In the
dist
directory, the following Preferences Editor files make reference to the OpenSans font:dist/assets/src/framework/preferences/css/SeparatedPanelPrefsEditor.css
dist/assets/src/framework/preferences/css/SeparatedPanelPrefsEditorFrame.css
And they do so via a relative URL such as:
src: url("../../../lib/opensans/fonts/OpenSans-SemiBold.woff");
However, OpenSans is not included in the
dist
directory and if the above CSS files are used in-place, the OpenSans font files will fail to load. The font files will be resolved relative to the location of the CSS files and fail to be found. For example at:/infusion/dist/assets/src/lib/opensans/fonts/OpenSans-SemiBold.woff