Asian (Chinese language) fonts not working in AWS Linux 2023
The following cfdocument is not displaying the fonts.
<cfoutput>
<cfdocument format="pdf" fontembed="true">
<style>
body{font-family: 'SimSun' 'Microsoft Yahei'; font-size: 35px; }
td,th, h1,h2,h3, p{font-family:'Microsoft Yahei', sans-serif,Helvetica, Arial;}
</style>
<cfoutput>
<h1>PDF #chinese characters here#</h1> <!-- "PDF Example Title" in Chinese -->
</cfoutput>
</cfdocument>
</cfoutput>
===========================
AWS Linux 2023 EC2 instance
CF2023 Trial
Tried:
Adding fonts via CF Administrator
Adding fonts to /usr/share/fonts
Adding fonts to /usr/share/fonts/default/TrueType
Used in-built web server as well as apache
All suggestions welcome! Thank you.
