Re: Re: Update on problem with text on plots -- very tiny characters?

Al Hooton <[email protected]> Sun, 17 Oct 2004 10:39:53 -0700
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <1098034793.31920.47.camel@localhost>
	Adrian,

	I've been trying to reproduce this problem in testgtkplot, and have not
been able to do so.  When I copy the exact call to gtk_plot_put_text
from my code in to testgtkplot.c, it works.  I'm not using rotated text,
I have the coordinates correct (<= 1.0), and I'm using a common font
(Times-BoldItalic).  I'll keep trying to get you code that can reproduce
this (my entire project is not reasonable to send, it has lots of
external dependencies and would drive you nuts trying to get built).

	However, I have another couple questions to help me debug it:

- I know that you did a lot with integrating pango under the hood of
gtkextra-2.  I have pango 1.2 on my system -- does your code require a
newer pango than this?

- Another clue: This problem is affecting *all* the text on the plot,
not just text I put up with gtk_plot_put_text.  The axis titles and tick
labels are also very small 1 or 2 pixel spots on the plot.  Whatever the
problem is, it doesn't seem to be related to how text is added to the
plot, it seems more related to how text is rendered on the plot, because
it affects all text.  Any further guesses with that info?  I've attached
a screenshot that shows this.

	All help, thoughts, guesses appreciated!  If/when I get a small set of
code that can reproduce this, I'll send it along.  In the meantime,
please let me know if there is additional info that would help you
determine what's happening.
	
	Thanks!

-Al


On Fri, 2004-10-15 at 11:41, Adrian E. Feiguin wrote:
> Can you tell me if you are using rotated text? Can you add a line or two 
> to testgtkplot to reproduce it? Thanks!
> <ADRIAN>
> 
> Al Hooton wrote:
> 
> >	Related to my prior post about text on plots not showing up (I'm
> >starting a new thread here because this now appears to be a different
> >problem):
> >
> >	I have now found that there are *very tiny* gray/black spots on my
> >plots where I am trying to put text.  Most of them are only a single
> >pixel, and I have missed seeing them for a while today.  My guess at
> >this point is that my text is being put in the plot and displayed, using
> >gtk_plot_put_text(), but some of the recent changes are causing it to be
> >extremely small.
> >
> >	Adrian, I've been through testgtkplot.c, and I can't see where you use
> >gtk_plot_put_text, only where you are putting text on a canvas.  Any
> >thoughts as to why my text on a plot would be microscopic?
> >
> >	Thanks!
> >
> >-Al
> >
> >
> >
> >.
> >
> >  
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Scigraphica-gtkextra mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra
> 
> 
> <!DSPAM:41701aba69942116511363>
text-problem.jpg (application/octet-stream, 17.9 KB) - not displayed