[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Text Wrapping



Bernie Kruger,

The proportional wrap problem can be solved using an approach
described at http://www.sqrug.com/~ftp/wrap/.  Unfortunately,
I don't know who wrote the utilities or what font they support,
so you may have to fuss with it a little.

I have done some work with proportional fonts, but I haven't
needed to do the wrap piece (yet).  You may be able to
use some of what I have done to make the above work, or
you may be able to adapt the above to work with what I have
done.  Take a look at my HP printer support routines at
http://www.ontko.com/sqr/hp.html.

Hope this helps.

Ray

> Hi
>
> I have a problem with text wrapping and need a solution.
>
> Ok, here's the deal:
>
> Say I want to print a text field with a lenght of 200 chars.  My page is
> of width 74 (columns).  I Print it like this:
>
> Print &ldtext (1,1) Wrap 70 5
>
> Now, when you look at the output, it's something like this:
>
> 1
>                    74
> | text text text text text text text.
>             |
>
> So, the text does not go through to position 74.  I know the problem is
> occuring because of the fact that I use Arial 10.  Arial 10 is smaller
> than one column in SQR.  Two possible solutions: use Courier 10 or make
> the text uppercase, BUT I need to print it in Arial 10, Sentance case.
> Any answers?
>
> Thank you
> Bernie Kruger
> MST - South Africa
>

----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  "Ask me about SQR and the Web."
rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/