https://bz.apache.org/bugzilla/show_bug.cgi?id=61169
Andreas Beeker <kiwiwi...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #2 from Andreas Beeker <kiwiwi...@apache.org> --- tl;dr: the textbox is too short because of an undefined/unregistered font and there is an issue in calculating the text height / width in POI. There are a few issues with the current rendering code, which also applies for calculating the text height: - the textbox indents are ignored when the text height is calculated - you need to register a font having those japanese glyphs in - my test font (mona) has a textlayout leading of 0, hence the leading need to be fixed somehow The rendering in Libre Office seems to use some kind of tracking (= opposite of kerning). Although the Tracking attribute can be added to the AttributedString, this is ignored when breaking the text. An alternative to modify the registered font [1] doesn't work. [1] https://stackoverflow.com/questions/13229725 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org