Issue 120617 - Saved document is not conforming RTF 1.9.1 spec
Summary: Saved document is not conforming RTF 1.9.1 spec
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 3.4.0
Hardware: PC Windows 8, 8.1
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-19 16:19 UTC by Konstantin
Modified: 2014-09-27 05:11 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Konstantin 2012-08-19 16:19:16 UTC
I'm working on my own RTF parser on Python for our company, so I downloaded RTF specification from Microsoft web site, and implemented some features. But document, created with OOO Writer 3.4 is not conforming specifications.

RTF manual says:
<fontinfo> :: themefont>?
              \fN
              <fontfamily>
              \fcharsetN?
              \fprq?
              <panose>?
              <nontaggedname>?
              <fontemb>?
              \cpgN?
              <fontname>
              <fontaltname>?
              ';'

and this is a quotation from the saved document:
{\f0\froman\fprq2\fcharset0 Times New Roman;}

so \fcharsetN and \fprq are on wrong places.
Comment 1 orcmid 2012-08-19 21:43:05 UTC
The RTF 1.9.1 specification referenced here may be obtained at 
http://www.microsoft.com/en-us/download/details.aspx?id=10725

Comments on RTF end-of-life and further background are available in the Wikipedia coverage:
http://en.wikipedia.org/wiki/Rich_Text_Format

[I notice that I still refer to 1.6 as the end-all of RTF, and I must train myself to use 1.9.1 as the proper designation.]
Comment 2 zong dong jun 2012-09-07 09:27:07 UTC
confirm