The correction may well only be needed for the post-primitive code. We
had problems caused by that code in another case, and our fix is part of AR51018. Here's my version comment, and the fix is attached - perhaps Christian could test that it solves the Aragon problem without needing his override? * Fix for bug in VW which causes the whole of any text containing even a single 2-byte character to be not displayed unless near the top left of the screen. Such characters are roughly those not in Unicode 0-255, so this doesn't affect most European languages, but does affect texts containing Japanese and Microsoft smart quotes. The latter are the most common cause, e.g. if text is pasted from an MS program. - bug is in post-primitive code in ScreenGraphicsContext>>primDisplayCharacterOfIndex:at:, introduced in 7.3.1. Reported to Cincom as 388361: TwoByteString not displaying for Float co-ordinate. Confirmed and created as AR 51018. Steve Terry Raymond wrote: > Is there a VM fix for this? > > Christian Haider wrote: > > Some text fields of my NewDataSet didnt display their content anymore. > > The problem boils down to the new version of Rectangle>>#center which > returns a "true" center point > > (with Floats etc) instead of an Integer Point. > > This causes the primitive <976> to fail. Unfortunately, the backup > code in > > ScreenGraphicsContext>>#primDisplayCharacterOfIndex:at: is not > correct and the charcter is clipped > > away -> the text is not drawn. > To patch the issue, I overrode (yuk) Aragon.NDSRenderer4TextFields>>#display:in:on: _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc ScreenGraphicsContext-primDisplayCharacterOfIndexat.st (1K) Download Attachment |
> Von: Steven Kelly [mailto:[hidden email]]
> > The correction may well only be needed for the post-primitive code. We > had problems caused by that code in another case, and our fix > is part of > AR51018. Here's my version comment, and the fix is attached - perhaps > Christian could test that it solves the Aragon problem without needing > his override? Yes it does. Thanks - this is a proper solution. Cheers, Christian > * Fix for bug in VW which causes the whole of any text > containing even a > single 2-byte character to be not displayed unless near the > top left of > the screen. Such characters are roughly those not in Unicode 0-255, so > this doesn't affect most European languages, but does affect texts > containing Japanese and Microsoft smart quotes. The latter > are the most > common cause, e.g. if text is pasted from an MS program. > - bug is in post-primitive code in > ScreenGraphicsContext>>primDisplayCharacterOfIndex:at:, introduced in > 7.3.1. Reported to Cincom as 388361: TwoByteString not displaying for > Float co-ordinate. Confirmed and created as AR 51018. > > Steve > > > Terry Raymond wrote: > > Is there a VM fix for this? > > > > Christian Haider wrote: > > > Some text fields of my NewDataSet didnt display their content > anymore. > > > The problem boils down to the new version of Rectangle>>#center > which > > returns a "true" center point > > > (with Floats etc) instead of an Integer Point. > > > This causes the primitive <976> to fail. Unfortunately, the backup > > code in > > > ScreenGraphicsContext>>#primDisplayCharacterOfIndex:at: is not > > correct and the charcter is clipped > > > away -> the text is not drawn. > > To patch the issue, I overrode (yuk) > Aragon.NDSRenderer4TextFields>>#display:in:on: > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.169 / Virus Database: 270.6.19/1661 - Release > Date: 09.09.2008 04:58 > Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.19/1661 - Release Date: 09.09.2008 04:58 _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |