|
From: Petr M. <mi...@ph...> - 2003-10-31 17:11:07
|
> > BTW, I've noticed that there is a bug visible on some enhanced terminals > > (PM and gd enhanced patch by Ethan): all text is flushed left instead of right. > > What is PM? OS/2 Presentation Manager terminal (set term pm) > Text justification in gd+enhanced would be difficult, although I think it The bug is somewhere else -- it looks like *all* text is wrongly justified, even when using no enhanced features in any text. > is possible with some work. It is much harder than in PostScript because > libgd does not provide equivalent operators such as gsave/grestore. > A lot more would have to be done in software. It would need a routine like strlen_enhanced_text(char*) which would estimate the width of the label. Additionally, it would be of great use for gnuplot's auto sizing of margins et al, where it counts all characters of "/Symbol ...". --- Petr Mikulik |