opensubscriber
   Find in this group all groups
 
Unknown more information…

x : xprint@mozdev.org 26 February 2006 • 7:00PM -0500

[Fwd: Re: [Xprint] How do I change the size of a font?]
by Martin Deppe

REPLY TO AUTHOR
 
REPLY TO GROUP




<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Please, I still need the information how to program a xprint client in
order to set up different fonts and especially font SIZES.<br>
<br>
I still haven't been doing this successfully yet!<br>
<br>
Still hopefully<br>
Martin<br>
<br>
<br>
<br>
-------- Original Message --------
<table cellpadding="0" cellspacing="0" border="0">
  <tbody>
    <tr>
      <th valign="baseline" align="right" nowrap="nowrap">Subject: </th>
      <td>Re: [Xprint] How do I change the size of a font?</td>
    </tr>
    <tr>
      <th valign="baseline" align="right" nowrap="nowrap">Date: </th>
      <td>Fri, 24 Feb 2006 14:42:51 +0100</td>
    </tr>
    <tr>
      <th valign="baseline" align="right" nowrap="nowrap">From: </th>
      <td>Martin Deppe <a class="moz-txt-link-rfc2396E" href="mailto:Martin.Deppe@web...."><Martin.Deppe@web....></a></td>
    </tr>
    <tr>
      <th valign="baseline" align="right" nowrap="nowrap">To: </th>
      <td><a class="moz-txt-link-abbreviated" href="mailto:xprint@mozd...">xprint@mozd...</a></td>
    </tr>
    <tr>
      <th valign="baseline" align="right" nowrap="nowrap">References: </th>
      <td><a class="moz-txt-link-rfc2396E" href="mailto:43FEDAF7.4090406@web...."><43FEDAF7.4090406@web....></a>
<a class="moz-txt-link-rfc2396E" href="mailto:1140776607.5240.70.camel@pug...."><1140776607.5240.70.camel@pug....></a>
<a class="moz-txt-link-rfc2396E" href="mailto:43FEE7CD.7010802@web...."><43FEE7CD.7010802@web....></a></td>
    </tr>
  </tbody>
</table>
<br>
<br>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
Isn't there anybody out there who can point me to how to set a scalable
font (and the size of it) using the Xprt system successfully without
using anything else?<br>
<br>
Hopefully<br>
Martin<br>
<br>
<br>
<br>
Martin Deppe wrote:<br>
<blockquote type="cite" cite="mid43FEE7CD.7010802@web....">
  <meta http-equiv="Content-Type" content="text/html;">
  <title></title>
Drew Parsons wrote:<br>
  <blockquote type="cite"
cite="mid1140776607.5240.70.camel@pug....">
    <pre wrap="">On Fri, 2006-02-24 at 11:07 +0100, Martin Deppe wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">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.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
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</pre>
  </blockquote>
Thank you Drew,<br>
  <br>
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.<br>
  <br>
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.<br>
  <br>
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.<br>
  <br>
Martin</blockquote>
</body>
</html>


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.