Metadata
- Source
- FLUID-6361
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Alan Harnum
- Reporter
- Simon Bates
- Created
- 2019-01-14T09:58:15.268-0500 
- Updated
- 2024-07-19T08:07:22.615-0400 
- Versions
- N/A
- Fixed Versions
- N/A
- Component
- 
                        
                        - Build Scripts
 
Description
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
Comments
- 
                        Alan Harnum commented 2019-07-29T13:56:34.597-0400 This was done as part of the work in https://github.com/fluid-project/infusion/pull/956