Hi Devs, I have reported a bug [0]. While trying to debug it , I came across method getFontName() in RichTextRun.java. While seeing the code for this method, I found that , for a rich text run, we try to deduce the font name based on font used by parent, if there is not font name for a TextRun.
This implementation is causing problems in case of Chinese characters as I have mentioned in bug. I would like to propose to change this method to return, null, if no font is found for TextRun. Kindly let me know your thoughts on the same. Regards, Abhinav Mathur [0] https://issues.apache.org/bugzilla/show_bug.cgi?id=54880 Proposed getFontName() method public String getFontName() { return _fontname; }
