Some RTF documents fail to render properly in LO, especially those with lots of formatting. One such document, which has been generated by Notepad++'s NppExport is attached. MS Word renders the document properly.
Created attachment 76028 [details] Problematic RTF document
Not a valid bug report! @access2godzilla We can not handle such "LibO still is not optimum" bugs: <http://wiki.documentfoundation.org/BugReport#General_information> item 4 Please reduce this bug to 1 concrete problem, for example Summary "FILEOPEN particular .rtf ignores font setting 'Courier New'" or similar (only if has not already been reported. For more problems visible in the document please submit separate bugs and cite the Attachment here <https://wiki.documentfoundation.org/QA-FAQ#How_to_use_attached_sample_documents_for_multiple_Bug_Reports>
Okay, in more details: Formatting in that particular attached RTF document is completely wrong in case of Libreoffice. 1. Document should be rendered with "Courier New" font, however document is rendered in "Times New Roman". 2. Text colour is rendered in completely wrong colours.
Already [Reproducible] with * unzipped installation of "LOdev 4.0.0.0.alpha1+ - ENGLISH UI / German Locale [Build ID: af60316514f3ae3d4c475819bf86f2af837171e)]" {tinderbox: Win-x86@6, pull time 2012-11-23 22:10:31} on German WIN7 Home Premium (64bit) with own separate User Profile * Server-installation of Master " 3.7.0.0.alpha0+ – ENGLISH UI [Build ID: f2e622]" {tinderbox: Win-x86@16, pull time 2012-10-06 09:31:39} on German WIN7 Home Premium (64bit) UserInstallation=$SYSUSERCONFIG/LOdev/3 Still was ok with: *server-installation of Master "3.7.0alpha0+ – WIN7 Home Premium (64bit) ENGLISH UI [Build ID: b255de8]" (tinderbox: Win-x86@6-fast, pull time 2012-06-05 23:16:58) That's something very special with this very special document. When I save reporter's sample with 3.6.5 as .odt, close, reopen, save as .rtf, close and then reopen with 4.0 the ugly backgrounds do not appear. So this might be a combination of document problem and LibO problem. I reduce priority I can't tell whether the font problem is related. Also more early versions do not recognize Courier New correctly, but that now simply TNR is shown appears with the same version for me as the background problem . @access2godzilla: Please do not change Status to NEW before all necessary inro has been gained! <https://wiki.documentfoundation.org/QA/BugTriage#Step_5._Set_Status> @Miklós: Please add Witeboard tag “bibisectrequest” if you think that a bibisect result can ease your work. Please change Status to ASSIGNED and add yourself to "Assigned To" if you accept this Bug or forward the Bug if it's not your turf
Created attachment 76386 [details] View in affected LibO versions
Assign to me, I think I know the reason of the font problem.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=60c17b2873506ed8b068b34840aecda0c1d9bd65 fdo#61909 fix RTF import of default font without RTF_PLAIN The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c412cba28ebc00783041bcec74978fc959cc1351 fdo#61909 fix import of RTF_HIGHLIGHT The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
-4-0 review: https://gerrit.libreoffice.org/2817
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=65f42760736d656b4999aa8830cb4f44f6d4e718&h=libreoffice-4-0 fdo#61909 fix import of RTF_HIGHLIGHT and of default font without RTF_PLAIN It will be available in LibreOffice 4.0.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
The issue has been fixed in LibO 4.0.0.3. Both problems i.e. wrong font and wrong colours are resolved.
Migrating Whiteboard tags to Keywords: (filter:rtf) Replace rtf_filter -> filter:rtf. [NinjaEdit]