Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fonts make every letter the same size?

Status
Not open for further replies.

NSMan

Technical User
Aug 26, 2004
72
US
I've got some fields that have more data than I want to print sometimes. I need to either find a way to make Crystal stop printing half of a letter when the field is to long, or select a left portion of the string. My problem is that selecting the left twenty five characters of a field may be selecting too many, or too few characters depending on what letters were used. Courier New is the only font I've found that prints consistant letter sizes, and I don't like the font...any other ideas on what font I could use, or a way to make Crystal not print parts of letters?
 
What you're speaking of are proportional or fixed fonts. You can download lots of them for free, pay for them, or even create your own. Do an Internet search for proportional font.

I guess you want people to guess what the truncating of the fields is about, stating that you have more data than you want to print might mean that you have a field which is sometimes larger than the space provided on a report, yet you don't want to expend it, but it's hard to know unless you take the time to state specifics.

-k
 
You could count the maximum number of characters that would fit by creating a formula that is just a string of the fattest letter, possibly "O" or "W" or something, and then use the left function with that number. You would have some uneven line lengths, but that might not be critical.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top