we have a VFP to render our customer data in PDF and since Salesforce PDF rendering engine only support Arial Unicode MS for multi-byte characters and our users used to copy their content from MS word and paste into the rich text field and it will have the style like:-
<span style="font-family: simsun;"> chinese words </span>
i would like to force change all font-family enter by our user in rich text field to Arial Unicode MS so it can display in PDF
i tried something like that:
.sfdc_richtext{
font-family:"Arial Unicode MS" !important;
font-size:10px;
}
<div class="sfdc_richtext">
<apex:outputText value="{!account.test_rich_text__c}" escape="true" />
</div>
i even tried inline style:
<div >
<apex:outputText style="font-family:Arial Unicode MS; !important;" value="{!account.test_rich_text__c}" escape="true" />
</div>
but it still doesnt show the rich text content. Any thought?