gjpqy cut off while typing

BNig bernd.niggemann at uni-wh.de
Thu Oct 1 05:54:24 EDT 2015

One curious observation regarding descents with large textSizes

Regardless of workaround or not: in LC 7.1 when tabbing out of the field the
first 3 letters get their descents "cut off". However if you click outside
of the field to take focus from it everything looks fine.
This affects textSizes of 60, textsize 48 is ok with regards to tabbing out
of the field. (using comic-sans bold)

This does not affect LC 6.7.7 rc 4 nor LC 6.1.3.

So there are two bugs when rendering large fontsizes with descents
The first one affects typing: while typing the descents are not fully
rendered (this can be worked around)
The second affects only LC 7.1: tabbing out of a field cuts off the descents
of the first three letters. (this one I don't know a workaround for) 

Of note:
In LC 8 dp 5 everything works without a hitch, no workaround needed. All
descents are rendered when typing and also when tabbing out of the field.

Sorry if this almost has the length of a Bug-report. :) I did all my testing
on a Mac.

Kind regards

BNig wrote
> Hi Paul,
> I like your idea to use textshift for screenrefresh, no fiddling with
> selectedChunk etc.
> Just one little change to your code in case textshift has not been set
> before. Then textShift would be empty.
> Adding 0 to it will not change previous text shift and if textShift has
> not been set it will not throw an error.
> And a textShift of 0 does not accumulate "textShifts" in
> styledText/htmlText.
> --------------------------------------------------
> on textChanged
>    set the textShift of last char of me to the textShift of last char of
> me +0
> end textChanged
> --------------------------------------------------
> Kind regards
> Bernd
> Paul Hibbert-4 wrote
>> I wondered if the textShift would help and found this works too;
>> on textChanged
>>    set the textShift of last char of me to the textShift of last char of
>> me
>> end textChanged

View this message in context: http://runtime-revolution.278305.n4.nabble.com/gjpqy-cut-off-while-typing-tp4696789p4696801.html
Sent from the Revolution - User mailing list archive at Nabble.com.

More information about the use-livecode mailing list