Nour Khaled
01/08/2025, 11:12 AMCeligo AI
01/08/2025, 11:12 AMAI generated answer (using internal Slack threads):To add Arabic font in Suitelet NetSuite SuiteScript 2.0, you can follow these steps: 1. Add the font files to the file cabinet in NetSuite. You can use the Cairo font as it supports Arabic. 2. Load the font in your Suitelet script via the file URL. You can use the following code to link to the font file in your file cabinet:
html
<link name="cairo-font" type="font" subtype="opentype" src="url to .ttf" bytes="2" />
3. Use the font in your CSS. Here is an example:
css
.ar{
direction: rtl;
text-align: right;
font-family: Cairo; // the arabic font we use
}
Please note that not all font files are compatible with NetSuite, so you might need to try different font files if the first one doesn't work.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
01/08/2025, 11:13 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848199904
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.807261944
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.793684781
Celigo AI
01/08/2025, 11:13 AM