Setting a Template to Use a Font Unavailable in NetSuite

Setting a Template to Use a Font Unavailable in NetSuite

If you want to print using a font or language that is not available in NetSuite, you can edit the template to do this.

  1. Load the .TTF font file into NetSuite.
  2. In the template, declare the font as opentype, not truetype.
  3. Refer to the font in the File Cabinet.
           <?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
<head> <link name="thai-font" type="font" subtype="opentype" src="https://<accountID>.app.netsuite.com/core/media/media.nl?id=5967216&amp;c=3809789&amp;h=8609ede0aef4cbfad71d&amp;_xt=.ttf" src-bold="https://<accountID>.app.netsuite.com/core/media/media.nl?id=5967216&amp;c=3809789&amp;h=8609ede0aef4cbfad71d&amp;_xt=.ttf" bytes="2" /> <style type="text/css"> * { font-family: thai-font, sans-serif; font-size: 9pt; table-layout: fixed; } th { font-weight: bold; font-size: 8pt; vertical-align: middle; padding: 5px 6px 3px; background-color: #e3e3e3; color: #333333; } td { padding: 4px 6px; } </style>
</head>
<body> ThisกexampleขhasฃwordsคseparatedฅbyฆThaiงcharacters.
</body>
</pdf> 


        

Leave a comment

Your email address will not be published. Required fields are marked *