Comment 18 for bug 210990

Revision history for this message
Anton (anton-fit) wrote : Re: [upstream] writer rtf import wrong encoding

I had a look at the rtf specification(http://www.artifax.net/productdownload/ArtRep/2.0/Help/rtf.htm) and here are my thought to what might be the problem. Hope this helps.

1)In the header of the document a font table is created with two fonts both Cyrillic charset(\fcharset204)
2)The document can only use fonts from the table.
3)The specification defines a command to set the default font number from the table.
4)The rtf file that is used( http://launchpadlibrarian.net/14655343/71627980-137-2008-05-20-17.rtf ) does not have that command. :(
I guess there has to be some convention on what to do in this case. ????
But, in any case the body text must be in Russian(because of point 1) and 2) ).
But i would assume that the last font in the table is the font that is set. I think so because the same command that sets the font (\fN) number N is used to set the font in the table.

Hope this helps resolve the problem quickly. :)

Cheers,
Anton