Support Article
Font color of generated PDF file is white
SA-74146
Summary
Font color of a generated PDF file is white.
Error Messages
Not Applicable
Steps to Reproduce
- Create a case with steps
- Add the Create PDF smart shape to the last step
- Use the pyCaseInformation section as the Source
- Execute the case
Root Cause
The Create PDF smart shape inherits the application skin while generating the PDF.
Resolution
Perform the following local-change:
- Create a Cascading Style Sheet (CSS) file from Create > Technical > Text File
- Provide the Label field with a filename, App Name (Directory) with webwb, and File Type (extension) with CSS
- Add the below code to the file:
h1, h2, h3, h4, h5, h6 {
color: #000000 !important;
}
.dataValueRead {
color: #000000 !important;
}
- Navigate to Application > Skin > Included Styles > Additional style sheets
- Add the CSS file name
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.