[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: wrap function & proportional fonts
- Subject: Re: wrap function & proportional fonts
- From: Andrew Rivers <andrew.rivers@CWCOM.NET>
- Date: Wed, 11 Oct 2000 07:39:41 +0100
- References: <20000119190809.6509.qmail@web2004.mail.yahoo.com>
Mark
Did you manage a fix for your problem.
I am aware that wrap inserts a second line if the
wrap line goes one char position over the length of the page width.
However, I seem to have a similar problem to you in
that my text is wrapping at about half way across the page.
I suspect that it is possible to set wrap to a
different length to the page width.
The program is not mine so there may be some set-up
in about 15 nested include files!
If you have a solution or any possible suggestions
I should be mots grateful.
I am writing this at home - If you could also send
any reply to my email work account at work adrivers@wsatkins.co.uk
then that would be great...
Many thanks.
Andrew
----- Original Message -----
Sent: Wednesday, January 19, 2000 8:08
PM
Subject: wrap function & proportional
fonts
> SQR 4.3, Infomix 3.2,
HP-Unix.
>
> Has anyone seen the wrap function of SQR
mishandle
> text when it is printed in non-proportional fonts such
>
as Times New Roman? Specifically it tends to insert
> unwanted blank
lines when wrapping some text lines.
> (like when the text takes it very
near the end of the
> wrap length???)
>
> The command I am
using is:
>
> print $text (+3,15,0) wrap 71 15
on=<10>
>
> I want to print a paragraph in a block 71 long by
15
> lines.
>
> The output I get for a certain text block
is:
>
> line1 line1 line1....line1
> line_2
line_2........line_2
>
> line 3 line3.........line 3
>
> line 4 line4 line4.
>
>
> It handles the first
wrapped line correctly. However
> it inserts unwanted lines
randomly. If I change the
> text it is printing (by removing a word,
thus causing
> it to reach near the end and wrap on a different
word)
> the problem doesn't happen. It seems to happen
>
randomly based on what text is printed and when it
> reaches near the end
of the line. If I change the
> length of the wrap (from 71 to 60 for
example) it will
> wrap correctly (no blank lines.)
>
> I
know I have seen the center function not work
> properly with
non-proportional fonts, and this leads
> me to believe that it is the font
which is causing SQR
> to insert unnecessary lines when printing a
wrapped
> text block. I can change the font to courier and
the
> block wraps correctly.
>
> The SQR manual (page 232)
mentions a problem with
> implicit line feeds when your text gets to the
right
> edge of the page, however my text block is not near
> the
right edge.
>
> Any insight anyone would have is much appreciated
as I
> have tried just about everything to understand/fix
> this
little bugger.
>
> Thanks,
> Mark Polette
>
EpicEdge
>
>
__________________________________________________
> Do You
Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com