Drew Parsons wrote:
On Fri, 2006-02-24 at 11:07 +0100, Martin Deppe wrote:
  
Hi,

could anybody give me a hint how to set a font in size so that I can 
read my printout whithout using microscope? I couldn't find that out yet 
and I have been looking around for a while now!

I have installed Xprt and successfully created my own X-applications 
which display fine on the screen, but when I print it - and all graphics 
are ok as I want them - the text is half a millimeter in height and this 
is nearly not readable.
    

I'm not sure how to fix that myself, sorry.  But I do remember it
occuring sometimes on certain webpages, printing from mozilla. I believe
things improved with a later version of Xprint.  Which version are you
using at the moment?

One workaround might be to play around with your fonts.  Xprt gets the
order of its font directories (see "ps aux | grep [X]prt")  rearranged
somewhat differently to the X server (see "xset -q").  Possibly a
different font on paper is being substituted to the one on screen.

You can run the Xprt command line by hand if you have to, in order to
experiment with a different order.

Drew
Thank you Drew,

but I have my own application which I wrote in C. In that one I can render some graphs on the screen and also put some text on it. But when it comes to rendering that graph with the text to print it on a printer I get that far too small text on the printout.

In the meantime I could enlarge it by playing around a bit with the function "XpSetImageResolution(...)", but it is scaling it only in the y-axe, not in the x-axe and the font isn't scaled, instead the character as it is being printed in that small size is enlarged. And that of course can't look good or just readable either.

I guess, I have to scale the characters by choosing and setting the right option when I choose a font for that and I was already looking for that but couldn't find any example how to do that.

Martin
_______________________________________________
Xprint mailing list
[email protected]
http://mozdev.org/mailman/listinfo/xprint

Reply via email to