patch for gr_UnixImage.cpp

From: Jean Bréfort <jean.brefort_at_normalesup.org>
Date: Sun Nov 27 2005 - 15:49:51 CET

Hi,

recent changes to gr_UnixImage.cpp (1.39->1.40) broke charts. Here is a
patch which fixes that.
I found another problem: changing the height of the chart (or another
embedded object) does not change ascent and descent, and descent is
calculated with :
     iDescent = UT_convertToLogicalUnits(pszHeight) - iAscent;
so it can become negative... IMHO, both ascent and descent should be
changed proportionally when height change.
This can be done easily in fp_EmbedRun.cpp. Any comment?

Cheers,
Jean

Received on Sun Nov 27 15:53:35 2005

This archive was generated by hypermail 2.1.8 : Sun Nov 27 2005 - 15:53:35 CET