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

From: Thierry de Coulon <tcoulon_at_decoulon.ch>
Date: Mon Nov 22 2010 - 08:04:10 CET

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
abiword-user-request@abisource.com with the word
unsubscribe in the message body.
Received on Mon Nov 22 08:04:25 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 22 2010 - 08:04:25 CET