Custom Font Style is not affected in PDF in PEGA 8.6.5

Custom font style is configured in In-line styles of section rule. Pass the stream rule as parameter to HTMLTOPDF (OOTB activity) to generate PDF dynamically. Custom font style is applied in PDF in PEGA 7 but not in PEGA 8. Same style which is effective on UI but not on PDF document in PEGA 8.

Note: The custom font styles were not configured in webwb folder in app server in PEGA 7 and PEGA 8.

in Tracer, we could see custom font style in Markup parameter (HTML Code) but not affected in PDF. Is something issue with product? Anyone face this kind of issue with PDF, can you please help.

@MadhusudhanaV please could you go through the suggestions in post

PDF generated using pxCreatePDF contains garbled text

and

How to generate PDF documents using custom fonts?