1
How can I use Hebrew Font for TextWatermark
Question asked by Avital Avi - 11/1/2020 at 5:34 AM
Answered
The result is gibrish... "׳”׳¢׳×׳§"

1 Reply

Reply to Thread
0
Cem Alacayir Replied
Employee Post Marked As Answer
Well use a font that supports Unicode:

document.Watermarks.Add(
    new TextWatermark
    {
        Text = "My Hebrew Text",
        Font = new System.Drawing.Font("Arial Unicode MS"); 
    }
);
Also note that:
“Arial Unicode MS” may not exist on a Windows Server out of the box .
I guess it’s installed only when MS Office is installed:
https://docs.microsoft.com/en-us/typography/font-list/arial-unicode-ms
Check list of fonts in C:\Windows\Fonts on your server

Reply to Thread