FontSample.py -- Minor amendments

From Scribus Wiki
Revision as of 00:34, 21 August 2005 by Sjc (talk | contribs)
Jump to navigation Jump to search

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)

It is not clear what version of the script this patch is intended for. Does it take into account the effect of the "Extra offset for binding" selector?

If it does not then this may also have to be altered for this to work correctly because I originally reduced the value to 75 as a quick fix for the addition of that facility.--Sjc 02:34, 21 Aug 2005 (CEST)