paragraph separator garbles rendering

Discussion about LiveCode Global Jam events and activities

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Locked
DarScott
Posts: 227
Joined: Fri Jul 28, 2006 12:23 am
Location: Albuquerque
Contact:

paragraph separator garbles rendering

Post by DarScott » Fri May 23, 2014 8:36 pm

Whatever is decided for the semantics of PS in fields, it should not mess up the rendering of nearby characters. I think I'm seeing part of the next wiped out (no foreground color over background color).

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: paragraph separator garbles rendering

Post by capellan » Fri May 23, 2014 9:39 pm

Hi Dar,

Did you have a stack or a screenshot that
display this bug?

Thanks in advance!

Al

DarScott
Posts: 227
Joined: Fri Jul 28, 2006 12:23 am
Location: Albuquerque
Contact:

Re: paragraph separator garbles rendering

Post by DarScott » Fri May 23, 2014 9:48 pm

The field is populated with this:

Code: Select all

   put numToCodepoint( 0x2029) into PS -- paragraph separator
   put "ABC" & PS & "def" & PS & "ghi" & PS into field "Test"
   put "abc" & PS & "123" & PS after field "Test"
   put "xyz" & PS after field "Test"
I would like to post a screenshot. Though, I don't know the way.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: paragraph separator garbles rendering

Post by Simon » Fri May 23, 2014 10:56 pm

Not sure about the colors or text "wipe out" but this is what Dar's code gives me
2014-05-23_1453.png
Win 7 LC 7 dp5

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

DarScott
Posts: 227
Joined: Fri Jul 28, 2006 12:23 am
Location: Albuquerque
Contact:

Re: paragraph separator garbles rendering

Post by DarScott » Fri May 23, 2014 11:00 pm

That is definitely not what I'm getting. It is probably a Mac thing.

How do I post a picture? I am so envious.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: paragraph separator garbles rendering

Post by Simon » Fri May 23, 2014 11:08 pm

Hi Dar,
2014-05-23_1507.png
2014-05-23_1507.png (10.08 KiB) Viewed 8936 times
:)

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

DarScott
Posts: 227
Joined: Fri Jul 28, 2006 12:23 am
Location: Albuquerque
Contact:

Re: paragraph separator garbles rendering

Post by DarScott » Fri May 23, 2014 11:16 pm

This should be a picture of the upper left corner of the field with the rendering problem related to the PS character.
Attachments
PS rendering.png
Shows effect of PS on characters
PS rendering.png (5.75 KiB) Viewed 8935 times

Locked

Return to “LiveCode Global Jam”