Cannot change in text field the .textFont to serif font
Hello,
I am generating PDF with LuaLaTeX engine.
In my code I embed the following JavaScript command to change the font in text filed:
this.getField('fldname').textFont = 'fntname';When the fntname is set to a sans-serif font name, like Calibri (on Windows), this command changes the font, but when it is set to a serif font name, like Times New Roman (on Windows), this command do nothing.
What is the difference between serif and sans-serif fonts in text fields?
