You can set the FontDataEx object and use that with following code snippet. Please share, If I may help you further in this regard.
FontDataEx fo = new FontDataEx(“Arial”);PortionEx portion=new PortionEx();portion.setLatinFont(fo) ;
Is this how I would specify the font for a portion of text? I had expected to specified that with an enumerated constant, not a string.
Please visit this documentation link for your further kind reference. Please share if I may help your further in this regard.