[Libreoffice-bugs] [Bug 52286] FILESAVE as .RTF will show subscript and superscript with normal font height instead of reduced height

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 20 23:53:51 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52286

--- Comment #4 from Giulio Genovese <giulio.genovese at gmail.com> 2012-07-20 14:53:51 PDT ---
Just to clarify, the following command line will fix the rtf file:
sed -i -e 's/\\up[0-9]*/\\super/g' -e 's/\\dn[0-9]*/\\sub/g' input.rtf
It will then look okay when opened with LibreOffice. Of course, if you save the
file again, then the problem re-surfaces again. I am in no way an expert in the
rtf format. I discovered this by trial and error. I would bet this is a
mishandling/forgetting of the \super and \sub keywords from LibreOffice side.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list