Hello Stimulsoft Support,
in a text component i'm using both ShrinkFontToFit (with ShrinkFontToFitMinimumSize == 5) and WordWrap == true. With that a longer text first of all is wordwrapped. Then when there is not enough space in the text component the font is shrinked.
Is it possible to get this behaviour the other way round? I want the font to be shrinked until there is no more space in a line even with minimum font size and then the word wrap should be kicking in.
Thanks and kind regards
Thorsten Pontow
ShrinkFontToFit and WordWrap
ShrinkFontToFit and WordWrap
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: ShrinkFontToFit and WordWrap
Hello,
We have discussed your proposal, and we think that it would be incorrect in most cases.
Can you please send us a sample which shown your issue for analysis.
Thank you.
We have discussed your proposal, and we think that it would be incorrect in most cases.
Can you please send us a sample which shown your issue for analysis.
Thank you.
Re: ShrinkFontToFit and WordWrap
Hello Aleksey,
i don't think we need a sample here. In a text component use font size 8, WordWrap:true, ShrinkFontToFit:true and ShrinkFontToFitMinimumSize:5. All i need is that the word wrap is avoided until the font is shrinked to minimum size. Then and only then, if there is not enough space in the first line, i want the word wrap to be executed.
Thanks and kind regards
Thorsten Pontow
i don't think we need a sample here. In a text component use font size 8, WordWrap:true, ShrinkFontToFit:true and ShrinkFontToFitMinimumSize:5. All i need is that the word wrap is avoided until the font is shrinked to minimum size. Then and only then, if there is not enough space in the first line, i want the word wrap to be executed.
Thanks and kind regards
Thorsten Pontow
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: ShrinkFontToFit and WordWrap
Hello Aleksey,
i attached a little sample here. Please open it and view the preview.
Thanks and kind regards
Thorsten
i attached a little sample here. Please open it and view the preview.
Thanks and kind regards
Thorsten
- Attachments
-
- ShrinkFontToFit.mrt
- Sample for WordWrap and ShrinkFontToFit question
- (7 KiB) Downloaded 220 times
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: ShrinkFontToFit and WordWrap
Hello,
We need some time for investigating the issue. We will let you know about the result.
Thank you.
We need some time for investigating the issue. We will let you know about the result.
Thank you.
Re: ShrinkFontToFit and WordWrap
Hello, Thorsten.
The main problem in your scenario is that the ShrinkFontToFit property works at post-processing.
Maybe it's possible to get the right result in Double Pass mode.
We will try to find a solution for you.
Thank you.
The main problem in your scenario is that the ShrinkFontToFit property works at post-processing.
Maybe it's possible to get the right result in Double Pass mode.
We will try to find a solution for you.
Thank you.