FontSample.py -- Minor amendments: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 23: Line 23:
>    header = scribus.createText(paper.leftSide, yPos, paper.textwidth, 40)
>    header = scribus.createText(paper.leftSide, yPos, paper.textwidth, 40)
</pre>
</pre>
Hi, This should have been filed as bug on bugs.scribus.net. I have sent this on to sjc for review.
Thanks,
--[[User:Mrdocs|mrdocs]] 00:01, 21 Aug 2005 (CEST)

Revision as of 22:01, 20 August 2005

FontSample.py doesn't work real well as shipped. This diff looks at A4 paper only. Letter may require another amendment.


159c159
< tocstyle.charsInRow = 75
---
> tocstyle.charsInRow = 79
223,224c223,224
<         paper.lmargin = 50
<         paper.rmargin = 50
---
>         paper.lmargin = 30
>         paper.rmargin = 30
313c313
<     [16, 15, fontName + '\n', 23, "l"],
---
>     [16, 15, fontName + '\n', 28, "l"],
352c352
<     header = scribus.createText(paper.leftSide, yPos, paper.textwidth, 35)
---
>     header = scribus.createText(paper.leftSide, yPos, paper.textwidth, 40)

Hi, This should have been filed as bug on bugs.scribus.net. I have sent this on to sjc for review.

Thanks, --mrdocs 00:01, 21 Aug 2005 (CEST)