After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163223 - Rich text with explicit sizes does not zoom
Rich text with explicit sizes does not zoom
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
git master
Other Linux
: High normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-01-07 12:23 UTC by Ari Constâncio
Modified: 2011-09-30 19:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test file (14.00 KB, application/vnd.ms-excel)
2005-01-27 16:48 UTC, Ari Constâncio
Details

Description Ari Constâncio 2005-01-07 12:23:24 UTC
Please describe the problem:
While importing a MS Excel file, I noticed some headings being incorrectly
displayed with different zoom settings (150%, 50%, etc.).
It seems to happen in cells with characters differently formatted (bold, italic).

Steps to reproduce:
1. Make a file in Microsoft Excel, type "A B C" in one cell and make B bold
2. Open in Gnumeric and change zoom (to 200% and 50%, for example) 
3. 

Actual results:
Only the first character gets resized with zoom


Expected results:
I'd expect all text to be correctly resized

Does this happen every time?
yes

Other information:
no
Comment 1 Ari Constâncio 2005-01-07 12:24:53 UTC
MS Excel versions XP (2002) and 2000
Comment 2 Andreas J. Guelzow 2005-01-07 13:50:20 UTC
THis does not seem to happen when the data is initially entered in gnumeric. So
it seems to be an XL Import issue.
Comment 3 Jody Goldberg 2005-01-12 03:18:09 UTC
It is a problem with the import to some extent, XL stores things in a way that
forces us to set all of the attributes each time something changes.  Which
exposes the real bug here.
Comment 4 Jody Goldberg 2005-01-13 04:24:07 UTC
Fixed in CVS by removing the pre-scaling of the font sizes and wrapping
everything in a scale attribute.  I did a bit of clean up in there and split the
definition of GnmFont out into a new file to speed compile times.
Comment 5 Ari Constâncio 2005-01-27 16:03:20 UTC
In version 1.4.2, a problem seems to remain with this fix. 
I made a test file with 9 equal cells(text "aaaaa").
The formats in the cells are n=normal font, b=bold, it=italic.

cell #, format
1, nnnnn
2, iiiii
3, bbbbb
4, niibb
5, nbbii
6, iinbb
7, iibbn
8, bbnii
9, bbiin

Whe I open this file (created in Excel XP) with Gnumeric, I get:

cell #, text
1, aaaaa
2, aaaaa
3, aaaaa
4, a
5, a
6, aa
7, aa
8, aa
9, aa

The whole text appears in the cell when I click the data entry area to modify
the cell contents, but hides again when I leave the cell. This happens at any
zoom setting.
Comment 6 Morten Welinder 2005-01-27 16:45:53 UTC
Coould you attach that test sheet, please?
Comment 7 Ari Constâncio 2005-01-27 16:48:07 UTC
Created attachment 36603 [details]
Test file
Comment 8 Ari Constâncio 2005-02-13 16:33:27 UTC
I'm not experiencing the problem anymore (version 1.4.2 Debian GNU/Linux)