Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Font file in the Skin rule is not picked up

KCP-89

Summary

Font file in the Skin rule is not picked up when the font name contains space. 

 

Error Messages

Not Applicable

 

Steps to Reproduce

  1. Create a binary file
  2. Add a Font file
  3. 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 }

 

 

Suggest Edit

Published December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us