[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuplot-info
Subject: RE: possible bug in gif.trm ...?
From: REIBENSCHUH Alfred <alfred.reibenschuh () cait ! co ! at>
Date: 1998-08-31 14:54:27
[Download RAW message or body]
thanks for the help but even after the 980715 patch i recommend
to change the following code snipplet:
------------------------------------------------------------------------
---------------------------
/* _put_text(x,y,str) Called to display text at the (x,y) position,
* while in graphics mode. The text should be vertically (with respect
* to the text) justified about (x,y). The text is rotated according
* to _text_angle and then horizontally (with respect to the text)
* justified according to _justify_text.
*/
TERM_PUBLIC void GIF_put_text(unsigned int x, unsigned int y, char*
string)
{
if (gif_state.angle == 1) {
/* this was changed ! */
x -= gif_state.charh / 2;
/* end of change */
gdImageStringUp(gif_state.image, gif_state.font,
x, gif_state.height - y,
string, gif_state.color);
} else {
y += gif_state.charh / 2;
gdImageString(gif_state.image, gif_state.font,
x, gif_state.height - y,
string, gif_state.color);
}
}
------------------------------------------------------------------------
---------------------------
mfg. Alfred Reibenschuh
iT-Austria Ges.m.b.h.
Telekommunikation - Netzwerkmanagement Projekte
>-----Original Message-----
>From: Lars Hecking [SMTP:lhecking+usenet@nmrc.ucc.ie]
>Sent: Friday, August 28, 1998 2:35 PM
>To: info-gnuplot@Dartmouth.EDU
>Subject: Re: possible bug in gif.trm ...?
>
>alfred.reibenschuh@cait.co.at (REIBENSCHUH Alfred) writes:
>
>> i may have noticed a bug in the gif.trm part of gnuplot
>[...]
>> patchlevel beta 347
>[...]
>> i used the following gnuplot commands and datafile:
>[...]
>> the rotated labels always reach into the graph-area, which is very bad
>> !!
>
> Well, this doesn't happen here with my version
>
> G N U P L O T
> Unix version 3.5 (pre 3.6)
> patchlevel beta 347 ss980824
> last modified Mon Jun 22 13:22:33 BST 1998
>
> ;-)
>
> If you are willing to recompile, get
> ftp://cmpc1.phys.soton.ac.uk/incoming/lh980715.tar.gz
>
> This patch set for beta 347 fixes numerous problems, the margin calculation
> bug (note the omission of "infamous" here ;) being one of them.
- -
[[[[ to unsubscribe from info-gnuplot, send an email with body
unsubscribe info-gnuplot
to majordomo@dartmouth.edu
]]]]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic