GNOME Bugzilla – Bug 162961
Rich text format strangeness
Last modified: 2005-05-25 15:12:28 UTC
1. Load the test file 2. Press Backspace, type "ooooo" The first o is bold, then 2 normal ones, then 2 bold ones, etc. I can't make a similar buggy file anymore, now that bug 161723 is fixed. I made the test file while playing with that bug.
Created attachment 35449 [details] test file
Confirmed, although the instructions are missing "press F2".
The file contains this sniplet from which we learn that we build up attributes lists in the wrong way. (I.e., we need to use pango_attr_list_change more often and pango_attr_list_insert less.) <gmr:Cell Col="0" Row="0" ValueType="60" ValueFormat="@[family=Sans:2:9][size=10240:2:9][italic=0:2:9][color=00x00x00:2:9][underline=none:2:9][bold=0:2:3][bold=1:2:5][bold=0:2:7][bold=1:2:9][bold=0:2:9][bold=0:2:9][bold=1:2:9][bold=0:2:9][bold=1:2:9][bold=0:4:9][bold=1:6:9][bold=0:8:9]">f ffffff</gmr:Cell>
Created attachment 35707 [details] test file, version 2 I played with this a bit more. See attachment. The "f ffffff" is identical on each line. I can file new bugs for these if necessary. Bug 163415 is basically 5) but with a different file.
4), not 5)
Pango is at fault for this. If you can generate any strangeness starting from a blank book, I'd be interested. Otherewise, please wait until we get a fixed pango.
Bug 163415 starts from a blank book.
We are now working around this problem is gnumeric HEAD. 1.4.x will still nead a fixed pango. (That might take a while as pango is effectively unmaintained.)