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 657288 - fix fraction alignment
fix fraction alignment
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2011-08-24 23:21 UTC by Andreas J. Guelzow
Modified: 2011-08-25 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2011-08-24 23:21:06 UTC
my previous fix of the fraction alignment apparently depended on the number of ?-marks in the numerator matching the length of the denominator. With the recent changes the to fraction selector that is usually not the case.

We could change go_format_generate_fraction_str but the correct fix is to change the way we determine the pango attributes.

Since digits in a variable-width fonts also vary in width, the current calculation method in fact did not create perfect alignment for such fonts. That should be fixed too!
Comment 1 Andreas J. Guelzow 2011-08-25 19:45:32 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.