[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] computing string size with proportional fonts
Hi Bob,
We have a proportional fonts library, written in SQR, that reads
Adobe Font Metrics (AFM) files and calculates the size (in points) for
strings.
The library does many common proportional font functions like wrapping
and centering. Getting the length of a string is certainly one of the
supported procedures.
We have found the library to be VERY useful for working with
proportional fonts. We've got enough time in it that we'd like
to recoup some of our investment, but we haven't really decided
to make it into a product. Is this important enough that
you might consider paying a small but reasonable fee to license
the software from us?
Ray
On Fri, Jan 16, 2004 at 02:25:28PM -0600, Bob Helm wrote:
> I should be a little more clear. I don't mean length of characters like the
>length() function returns, I meant length in inches, mm, even dots.
>
> I have reports with columns of data and I'm using proportional font. I'd like
>to truncate stings in one column before they spill over into the next column.
>Simply using the length() function is inconsistent at best since strings with
>X number of characters are different physical lengths in mm, in, etc. So, one
>string might truncate nicely, while another is cut way too short and still
>another may spill over.
>
> Thanks for any help.
>
>
>
> -----Original Message-----
> From: Bob Helm
> Sent: Friday, January 16, 2004 2:11 PM
> To: SQR Users (E-mail)
> Subject: [sqr-users] computing string size with proportional fonts
>
>
> Is there anything in SQR (or any tools you know of) that computes the size of
>a string before it's printed?
> I didn't see anything at sqrtools.com or any other searches.
> Hyperion says it's a "possible future enhancement".
>
>
> Thanks for any info,
> B
> The Programmer formerly known as Bob
> Mediware Information Systems, Inc.
> bob.helm@mediware.com
> 913-307-1045
>
>
>
>
>
> This message (including any attachments) constitutes a confidential
>communication and/or contains confidential information intended for a specific
>individual and purpose, and is protected by law. If you are not the intended
>recipient, please notify the sender by return email and delete this message
>and any attachments. Any disclosure, copying, or distribution of this
>message, or the taking of any action based on it, is strictly prohibited.
>
>
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
----------------------------------------------------------------------
Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users