Here is a previous thread on this issue:
Sharper Feb 4, 1:24 pm show options
Newsgroups: microsoft.public.access
From: "Sharper" <
[email protected]> - Find messages by
this author
Date: Fri, 4 Feb 2005 20:24:31 +0200
Local: Fri,Feb 4 2005 1:24 pm
Subject: RTF2 - Formatting Issue "Wo nk y o u t put!"
Reply to Author | Forward | Print | Individual Message | Show original |
Report Abuse
I am using Lebans RTF2 activex control
I have a formatting issue:
I have a form with separate RTF2 controls - one each in the header /
detail
/ footer. I am using the auto-resize code on leban's site to resize.
The issue is that the control in the detail section is not formatting
properly.
The first two instances of the control on the section are fine, but the
third seems to have an issue with the font pitch as "I am ge ttin g ou
tput on th e repor t like th is". (If you get my drift!)
Any suggestions as to what the problem might be and a possible fix?
Thanks.
Stephen Lebans Feb 5, 12:39 am show options
Newsgroups: microsoft.public.access
From: "Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdotlebans
[email protected]> - Find
messages by this author
Date: Sat, 5 Feb 2005 01:39:04 -0400
Local: Sat,Feb 5 2005 12:39 am
Subject: Re: RTF2 - Formatting Issue "Wo nk y o u t put!"
Reply to Author | Forward | Print | Individual Message | Show original |
Report Abuse
Sharper I thought I already replied to you on this issue in another NG.
Anyhow, here is a post from a thread relevant to your issue:
The entire thread is here:
http://groups-beta.google.com/group/microsoft.public.access.activexcon
tr
ol/browse_frm/thread/d56112b5a72b0c80/e3faa16313d0ca02?q=lebans+rtf&_d
on
e=%2Fgroups%3Fq%3Dlebans+rtf%26start%3D0%26scoring%3Dd%26&_doneTitle=B
ack+to+Search&&d#e3faa16313d0ca02
Newsgroups: microsoft.public.access.activexcontrol
From: Max Moor <maxmoor@remove_hotmail.com> - Find messages by this
author
Date: Thu, 18 Nov 2004 17:54:01 -0800
Local: Thurs, Nov 18 2004 5:54 pm
Subject: Re: replaced text in RTF2 not displaying correctly
Reply to Author | Forward | Print | Individual Message | Show original |
Report Abuse
"
Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdo
[email protected]>
wrote in
:
Hi Again Stephen,
I was looking around MSDN for clues, and found something about
text
widths being calculated differently when saving to a .txt or .rtf file.
It
didn't really seem to apply to my issue, but it made me reflect that
I've
never tried different fonts to see what happens.
I've been using MS Sans Serif all along. I switch to another
font,
and VIOLA! Everything printed correctly! I have a billion fonts on
here,
and have only checked a few. Here's a sampling:
TT Verdana Regular good, Bold bad
TT Times New Roman All Bad
S Sans Serif All Bad
A Lucida Sans All Good
O Garamond All Good
S Fixed Sys All Bad
O Courier New All Good
O Ariel All Bad
where 'O' and 'TT' are true type, 'A' are adobe fonts, and 'S' are
system
fonts.
I'll keep looking into things, but I'm getting close to parts of
the
system that are "magic boxes" to me, like character formatting and such.
If this extra info sparks any thoughts with you, I'd sure like to hear
them.
TTFN, Max
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
- Hide quoted text -
- Show quoted text -
I am using Lebans RTF2 activex control
I have a formatting issue:
I have a form with separate RTF2 controls - one each in the header / detail
/ footer. I am using the auto-resize code on leban's site to resize.
The issue is that the control in the detail section is not formatting
properly.
The first two instances of the control on the section are fine, but the
third seems to have an issue with the font pitch as "I am ge ttin g ou
tput on th e repor t like th is". (If you get my drift!)
Any suggestions as to what the problem might be and a possible fix?
Thanks.
Sharper Feb 5, 2:15 am show options
Newsgroups: microsoft.public.access
From: "Sharper" <
[email protected]> - Find messages by
this author
Date: Sat, 5 Feb 2005 09:15:48 +0200
Local: Sat,Feb 5 2005 2:15 am
Subject: Re: RTF2 - Formatting Issue "Wo nk y o u t put!"
Reply to Author | Forward | Print | Individual Message | Show original |
Report Abuse
Thanks for that. I'm sorry, I did post to one other NG, but I didn't see
any
reply there - my news server has been a bit tempermental though!
I had been working away at this last night and had reached the
conclusion
that it was something to do with the font type / size.
I managed to get a workaround for it, but I'm not sure why it works!! I
also was generating the rtf on the fly, but what I did was increase the
font
size in the rtf string. By trial and error I found that if I was trying
to
display Arial 9 on the report (ie setting the font properties in the
control
on the report) , if I increased the font size in the rtf string to fs24
(Arial 12) then it would display perfectly. The closer the fs got to
the
actual display font size on the control, the worse the problem. If the
font
size in the rtf string was less than that on the control on the report,
the
text was practically unreadable - two or three words would be spread
across
the whole page.
I don't know if someone else can use this information to investigate the
problem further, but in the meantime I have an acceptable workaround to
the
problem.
Thanks for your help.
"Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdo
[email protected]>
wrote in message
- Hide quoted text -
- Show quoted text -
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.