Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b8e836

Browse files
Updating filibuster imports.
1 parent 000c765 commit 1b8e836

22 files changed

Lines changed: 18 additions & 22 deletions

Basics/E07_Typography/E00_SingleColumn.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from pagebot.toolbox.units import em
2525
from pagebot.conditions import * # Import all conditions for convenience.
2626
from pagebot.constants import * # Import all constants for convenience
27-
from pagebot.mining.filibuster.samplecontent import SampleContent
27+
from pagebot.contributions.filibuster.samplecontent import SampleContent
2828

2929
sampleContent = SampleContent()
3030
# Uncomment to show the attribute names of

Basics/E07_Typography/E01_DoubleColumnOverflow.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from pagebot.toolbox.units import em, p, pt
2525
from pagebot.conditions import * # Import all conditions for convenience.
2626
from pagebot.constants import *
27-
from pagebot.mining.filibuster.samplecontent import SampleContent
27+
from pagebot.contributions.filibuster.samplecontent import SampleContent
2828

2929
sampleContent = SampleContent()
3030
# Uncomment to show the attribute names of

Basics/E07_Typography/E01_TripleColumnOverflow.py

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from pagebot.toolbox.units import em, p, pt
2525
from pagebot.conditions import * # Import all conditions for convenience.
2626
from pagebot.constants import GRID_COL_BG, GRID_ROW_BG, GRID_SQR_BG, LANGUAGE_EN
27-
from pagebot.mining.filibuster.samplecontent import SampleContent
27+
from pagebot.contributions.filibuster.samplecontent import SampleContent
2828

2929
sampleContent = SampleContent()
3030
# Uncomment to show the attribute names of
@@ -66,7 +66,7 @@
6666
# Get the page, with size/padding inheriting from the document setting.
6767
page = doc[1]
6868
# Make text box as child element of the page and set its layout conditions
69-
# to fit the padding of the page and the condition Overflow2Next() that
69+
# to fit the padding of the page and the condition Overflow2Next() that
7070
# checks on text overflow.
7171
c1 = newText(t, w=CW, name='c1', parent=page, nextElement='c2',
7272
conditions=[Left2Left(), Top2Top(), Fit2Height(), Overflow2Next()])
@@ -81,7 +81,7 @@
8181
conditions=[Left2Col(2), Top2Top(), Fit2Height()])
8282
# Solve the page/element conditions. It will test the conditions (in page
8383
# order, element order and order of the conditions list), adjusting the
84-
# position and size of the text boxes and checking of the there is text
84+
# position and size of the text boxes and checking of the there is text
8585
# overflow that needs to be linked to boxes marked by nextElement.
8686
doc.solve()
8787

Basics/E07_Typography/E02_SingleColumnBaseLines.py

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from pagebot.toolbox.units import em, pt
2525
from pagebot.conditions import * # Import all conditions for convenience.
2626
from pagebot.constants import BASE_LINE, BASE_INDEX_LEFT, BASE_Y_RIGHT
27-
from pagebot.mining.filibuster.samplecontent import SampleContent
27+
from pagebot.contributions.filibuster.samplecontent import SampleContent
2828

2929
sampleContent = SampleContent()
3030
# Uncomment to show the attribute names of
@@ -46,7 +46,7 @@
4646
# Defined styles
4747
headStyle = dict(font=bold, fontSize=36, leading=BASELINE, textFill=0.1, hyphenation=False,
4848
paragraphBottomSpacing=em(0.5))
49-
subHeadStyle = dict(font=bold, fontSize=24, leading=em(1.4), textFill=0.1,
49+
subHeadStyle = dict(font=bold, fontSize=24, leading=em(1.4), textFill=0.1,
5050
paragraphBottomSpacing=em(0.2), paragraphTopSpacing=em(0.8))
5151
style = dict(font=font, fontSize=24, leading=BASELINE, textFill=0.15, hyphenation=False)
5252
footNoteRefStyle = dict(font=font, fontSize=12, baselineShift=em(0.2), textFill=0.2)

Basics/E07_Typography/E02_SingleColumnGradient.py

100644100755
File mode changed.

Basics/E07_Typography/E03_PageGridAlignments.py

100644100755
File mode changed.

Basics/E07_Typography/E04_SingleColumnYPositions.py

100644100755
File mode changed.

Basics/E07_Typography/E05_PageBaseLines.py

100644100755
File mode changed.

Basics/E07_Typography/E06_TextBaselinePlacing.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from pagebot.toolbox.units import em, p, pt
2626
from pagebot.conditions import * # Import all conditions for convenience.
2727
from pagebot.constants import *
28-
from pagebot.mining.filibuster.samplecontent import SampleContent
28+
from pagebot.contributions.filibuster.samplecontent import SampleContent
2929

3030
sampleContent = SampleContent()
3131
# Uncomment to show the attribute names of

Basics/E07_Typography/E06_TextBaselines.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)