Support Article
Font file in the Skin rule is not picked up
Summary
Font file in the Skin rule is not picked up when the font name contains space.
Error Messages
Not Applicable
Steps to Reproduce
- Create a binary file
- Add a Font file
- Add the Font Family mentioned in the Font file in the Skin rule
Root Cause
An issue in the custom application code or rules. A Font file is imported into the webwb file. However, the Font family mentioned in the Skin rule is not picked up since, ? is not present in the SRC url mentioned in the Cascading Style Sheets (CSS) file.
Resolution
Perform the following local-change:
Include the below format style in the CSS file created to include the custom font webwb binary file:
@font-face{ font-family:"CustomFonts"; src: url("webwb/pxfont-CustomFonts-Regular.woff?") format("woff"); font-weight:400; font-style:normal }
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.