Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Stefan Dietl Newsgroups: comp.lang.clipper.visual-objects Subject: Re: RP2 and Creators Update Date: Wed, 19 Jul 2017 12:35:32 +0200 Lines: 75 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net BDoGYeGEXQYo6NHDQW6dRwAv0uQriEhw9njwSM44mydDMERwWx Cancel-Lock: sha1:XWOub11Wkcm1OcHU95aFOML1Xwg= User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: Xref: csiph.com comp.lang.clipper.visual-objects:10780 Hi Wolfgang, its occurring on all PCs. My test-pc has set font-sizes to 100%. Preview also differs from print. Preview mostly looks better. Stefan Am 19.07.2017 um 11:26 schrieb Wolfgang Riedmann: > Hi Stefan, > > is this occurring on all PCs with Creators Update or only of the ones > that have large fonts active? > > Wolfgang > > Stefan Dietl wrote: > >> Hi Glen, >> not only multiline text. Right aligned text is printed wrong too. >> I have uploaded a demo print here: >> https://www.sdsoft.it/files/rp2_issue.pdf >> >> Stefan >> >> Am 19.07.2017 um 00:31 schrieb Glen Townsley: >>> Stefan, >>> >>> Probably the same issue if your designed report calls DrawText() >>> which I suspect it will if you have any multiline text. The only >>> way I see to fix the issue is to reduce the width of the multiline >>> text box in your report designer though I would love to see a >>> better solution for both yours and my situations. >>> >>> Cheers >>> >>> Glen >>> >>> "Stefan Dietl" wrote in message >>> news:et7bmgFb4okU1@mid.individual.net... >>> >>> Thanks, but sorry, I forgot to say that its a designed (not coded) >>> report. Stefan >>> >>> Am 18.07.2017 um 21:51 schrieb Glen Townsley: >>>> Stefan, >>>> >>>> I have had the issue reported by a few users but I can now >>>> reproduce the issue since my system updated in the last couple of >>>> days. I traced the issue to the DrawText() method which seems to >>>> incorrectly calculate the line breaks in the printed text within >>>> the rectangle nominated. I tested this by clipping the text (last >>>> parameter) and the text is printed in the correctly sized >>>> rectangle. It seems to be a horizontal issue, not a vertical >>>> issue within the rectangle. I "solved" the problem by applying a >>>> factor to the size of the horizontal dimension of the rectangle. >>>> In my case 0.9 or 0.95 worked fine but I believe the issue is >>>> more pronounced the wider the rectangle. Hope this helps you. >>>> >>>> Cheers >>>> >>>> Glen Townsley >>>> >>>> "Stefan Dietl" wrote in message >>>> news:et6hdoF54r3U1@mid.individual.net... >>>> >>>> After the creators update, texts in RP2.17 are displayed >>>> incorrectly. Probably a font problem? Lines and other objects >>>> are displayed correctly. Does anyone have the same problem (or a >>>> solution?) >>>> >>>> Stefan >>> > > >