Bold fonts are not Coming in the PDF Output

Bold fonts are not Coming in the PDF Output

Bold fonts are not Coming in the PDF Output

Titleimage

Posted by Patrick Hamou on 2017:09:05 17:08:01

APPLIES TO:

Oracle Reports Developer - Version 10.1.2.0.2 and later
Information in this document applies to any platform.
"Checked for Relevance 15-Mar-2010"
 

SYMPTOMS

With Font Subsetting setup, the Bold fonts appear as regular font in PDF outputs generated by Oracle Reports. For e.g., with the following font subsetting setup, regular Arial fonts are displayed in place of Bold Arial fonts :

    Arial..Italic... = "Ariali.ttf"
    Arial..... = "Arial.ttf"
    Arial..Italic.Bold.. = "Arialbi.ttf"
    Arial...Bold.. = "Arialbd.ttf"
 

CHANGES

Changes made in the uifont.ali file to add PDF Subset Settings.

CAUSE

The Order of PDF Subset Settings causing the issue. Regular font added before adding the Bold-italic, Bold and Italic fonts. So all the font styes are replaced by Regular font.

SOLUTION

The order of the PDF Subset Settings should be corrected to get the correct font.  The Fonts should be placed in the following order:

    Bold Italic font
    Bold font
    Italic font
    Regular font.

Modify the Fonts order in the uifont.ali to get the correct font. In version 11g and above, the changes have to be made through Oracle Enterprise Manager. In versions 9.0.2 to 10.1.2.3, the changes have to be done in uifont.ali file directly with a text editor.

For detailed steps, please refer to :

Note:207711.1 - How to Use Font Subsetting in Reports for PDF Output.

REFERENCES

NOTE:207711.1 - How to Use Font Subsetting in Reports for PDF Output

Return to Blog