Re: My Abiword 2.8.6 can't print RTF correctly. (solved)

Thierry de Coulon <[email protected]>
Newsgroups gmane.editors.abiword.user
Organization Shadok
Message-ID <[email protected]>
Sorry, I intended to post this long ago but stupidely sent it to myself 
instead :)

On Friday 12 November 2010 12:33:37 am Thierry de Coulon wrote:
> Hi!
>
> I'm using Abiword to read and print RTF files generated by a program I
> wrote. These documents include some simple text and a table, and page
> breaks.
>
> I can display and print these documents OK in textEdit on a Mac
> I can display and print these documents OK in Abiword 2.6.4 that is
> installed on my Mepis 8.0.15 install
>
> With Abiword 2.8.6 that installed with Ubuntu 10.10, I can read and display
> the documents OK on the screen, but print preview and printing give a very
> stramge result: the layout is preserved, but only the first letter of a
> sentence (or the first number in a table cell) are shown (actually, there
> are also a few other letters, but I see no clear pattern).
>
> Note that if the document includes only 1 page, it prints OK.
>
> Is this a 2.8.6 problem, or is it only Ubuntu's version?
>
> Thierry

Answering myself, just because I think it might be useful to someone else.

While it does not explain why only some versions show this, I found out the 
problem came from the RTF code, not from Abiword.

The font header came from TextEdit and refered to MacOS fonts:
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}

This was displayed correctly but print preview and printing freaked out.

This new version, taken directly from Abiword's own formatting, works with 
both Abiword _and_ textEdit:
{\fonttbl\f0\fttruetype Arial;}

Thierry

-----------------------------------------------
To unsubscribe from this list, send a message to
[email protected] with the word
unsubscribe in the message body.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.