https://issues.apache.org/bugzilla/show_bug.cgi?id=55802

--- Comment #8 from Andreas Beeker <[email protected]> ---
The above example works ok in Libre Writer and Windows Wordpad, but MS Word
(Viewer) seem to need the hAnsi attribute to be set: [1]

So as a temporary workaround, you'll need to write to the xmlbeans directly:

run.setText("Ort, Datum der Erstellung: Kornelimünster, am 8. November 2013");
run.setFontFamily("Times New Roman");
run.getCTR().getRPr().getRFonts().setHAnsi("Times New Roman");
run.setFontSize(50);


[1] http://officeopenxml.com/WPtextFonts.php

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to