[scribus] Invisible Text?

amruginn-scribus at yahoo.com amruginn-scribus at yahoo.com
Wed Jul 31 12:31:01 UTC 2013


Ubuntu 11.10 Linux / Scribus 1.4.0.svn3 

I've attached the SLA file, and here is the script:


xPos = 53
yPos = 83
headerHeight = 22
headerText = createText ( xPos, yPos, 225, headerHeight )
setText ( 'Most Stats, Season', headerText )
setFontSize ( 16, headerText )
yPos = yPos + headerHeight
playerData = [
    [ '1', 'player1 (1988)', '640' ],
    [ '2', 'player2 (1996)', '616' ],
    [ '3', 'player3 (1997)', '596' ],
    [ '4', 'player4 (2003)', '542' ],
    [ '5', 'player5 (2005)', '535' ],
    [ '6', 'player6 (2012)', '505' ],
    [ '7', 'player7 (2011)', '500' ],
    [ '8', 'player8 (2004)', '496' ],
    [ '9', 'player9 (2004)', '480' ],
    [ '10', 'player10 (2007)', '465' ],
    [ '11', 'player11 (1987)', '462' ],
    [ '12', 'player12 (2009)', '458' ],
    [ '13', 'player13 (2006)', '456' ],
    [ '14', 'player14 (1989)', '450' ],
    [ '15', 'player15 (1993)', '448' ]
]
widths=[20,130,25]
yStart = yPos-12
for row in playerData:
    yStart = yStart + 12
    xStart = xPos
    iWidth = 0
    for part in row:
        thisText = createText ( xStart, yStart, widths[iWidth], 12 )
        setText ( part, thisText)
        setFontSize ( 8, thisText)
        xStart = xStart + widths[iWidth]
        iWidth = iWidth + 1


I don't think the script is at issue, even the deleting of the previous created textblocks and rerunning it. I wonder if I hit some magical sequence (ctrl-a -> delete), or (ctrl-z, rerun script), that caused the document to basically go invisible.

Thanks,
John



----- Original Message -----
From: Owen <rcook at pcug.org.au>
To: scribus at lists.scribus.net
Cc: 
Sent: Tuesday, July 30, 2013 4:36 PM
Subject: Re: [scribus] Invisible Text?

Linux, Windows or Mac?

Which version(Help->About)

Can you provide the script and minimal sla that shows the problem. 


Owen

amruginn-scribus at yahoo.com wrote:

>I'm unsure what exactly happened. I was using Scripter to insert text 
>boxes, and as I was trying to get the script right, I was hitting CTRL-Z to undo it all, or block select and hit Delete before rerunning the 
>script. Then all of a sudden, my entire document looks to be erased. I 
>am able to click and see text boxes exist. The text exists based on the 
>'Edit Text' option. The Outline window shows all of my text boxes 
>existing, but yet, I see nothing. Also, the red outline on each page 
>isn't showing up either in this SLA document.
>
>
>I look at print
> preview, and the document shows up, albeit some weird situations in the
> page I was editing on, but if I export to PDF, I see nothing, just like
> within Scribus.
>
>I've checked for paragraph styles still existing and font colors, but I'm just not sure what is wrong.
>
>
>Any ideas what to look at in what I may have messed up.
>
>Thanks,
>John
>
>
>___
>Scribus Mailing List: scribus at lists.scribus.net
>Edit your options or unsubscribe:
>http://lists.scribus.net/mailman/listinfo/scribus
>See also:
>http://wiki.scribus.net
>http://forums.scribus.net
___
Scribus Mailing List: scribus at lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VolleyballStatGuide2.sla
Type: application/vnd.scribus
Size: 292501 bytes
Desc: not available
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20130731/4e658719/attachment.bin>


More information about the scribus mailing list