Words/Java: load fonts via a reader or stream?

Hi guys,


I see that fonts are specified by directory names in the FontSettings class. I wanted to know if we can instead load individual fonts by a reader or input stream? My goal is to keep our application from using any resources that tie it to the underlying OS.

thanks,
Eric

Hi Eric,


Thanks for your inquiry. May be you can use FileFontSource Class. It represents the single TrueType font file stored in the file system. Please let me know if I can be of any further assistance.

Best Regards,