Page 1 of 1

difference in script editor, missing a few pixels and a crash

Posted: Mon Mar 19, 2018 7:32 pm
by sphere
Hi,
anyone has this issue too?
The character 1 is missing a few pixels in the right upper corner.
This is lc9rc1
pixelsmissing.PNG
scripteditor in lc9rc1
pixelsmissing.PNG (2.23 KiB) Viewed 3377 times
this is lc819
1inlc819.PNG
scripteditor in lc819
1inlc819.PNG (1.56 KiB) Viewed 3377 times
i see also differences in thickness while the same font and size is used.


second thingy
Also had 3 times a crash which i could exactly replicate those 3 times and after that no more...
turned messages off-->i opened a stack-->got an error in script (which LC throwed up when opening the stack) -->open script-->i saw that End openStack was in the wrong place (it was caused by creating a new handler while hitting the return key)-->then wanted to copy/paste that line, i selected it and then hit CTRL-X-->LC9rc1 crashed

After this i repeated it a few times to be able to write it down for a bug report, but after the 3rd or 4th time it did not crash anymore, so...

regards,
Sphere

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 3:30 am
by bogs
I haven't noticed any chopped off tops on this machine (sparky linux, debian testing), but I do see other ... weirdness when using the SE.

When I set the color to custard in the preferences, for instance, it looks more like pinkish. If I type rapidly, which is most of the time, it seems like it falls behind quite a bit. The abnormal looking text I get, but bumping the size to 13 or 14 seems to fix that here (font: free sans). I definitely don't care for the sourcecode pro font it defaulted to :P :P

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 7:08 pm
by sphere
Thanks bogs, i will create a bug report

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 7:25 pm
by bogs
No problems. Love your sig by the way :D

Hint: you may want to switch the 'c' and 'i' below :)
...not mentioning the startup speed, whcih we now have again with SSD :D

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 7:46 pm
by FourthWorld
I wonder if this issue is perhaps somehow related to the text rendering change needed to accommodate this:
http://quality.livecode.com/show_bug.cgi?id=20856

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 8:33 pm
by bogs
Could be? Was a bit out of my level.

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 9:18 pm
by sphere
Thanks Bogs, glad you like it :)

@ Richard, i don't know for sure if it is the same, looks a bit like it.
Those little screenshots where taken on Win10

And these 2 are taken on Mac (well that is...Hackintosh)
lc9rc1
lc9rc1onmac.png
lc9rc1onmac
lc9rc1onmac.png (16.27 KiB) Viewed 3318 times
and lc819
lc819onmac.png
lc819onmac
lc819onmac.png (14.36 KiB) Viewed 3318 times
did not change any default text setting

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 9:57 pm
by bogs
I have 2 questions, whats the default font on the one that is messing up, and what happens if you change the default font to a different one?

From what that bug report said (if I understood it correctly) this mostly affected one kind of font, skia(?).

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 10:09 pm
by sphere
it de faults to..Default
but it seems to be Source Code Pro 12
on size 13 and bigger it's ok

I know it's a storm in a glass of water,
but strange (or not)so different on the script editor in the lc versions

Re: difference in script editor, missing a few pixels and a crash

Posted: Tue Mar 20, 2018 10:35 pm
by bogs
No, I agree with you, that source code pro font leaves a lot to be desired. I actually prefer comic sans myself a lot, reminds me of Calvin and Hobbes :mrgreen:

Re: difference in script editor, missing a few pixels and a crash

Posted: Wed Mar 21, 2018 12:33 am
by monte
Hi Folks

Yes source code pro is now used as the default script editor font. Using a monospaced font in the script editor can make a significant difference to performance so we decided to bundle an open source font designed for coding to be the default. You can of course change this to whatever you want.

As far as the missing pixels goes that does look quite odd so thanks for the report!

Re: difference in script editor, missing a few pixels and a crash

Posted: Wed Mar 21, 2018 1:00 pm
by sphere
Thanks Monte !