32 |
# |
# |
33 |
# fenpdf.pool : The storm pool directory to use. Default: myFenfire/ |
# fenpdf.pool : The storm pool directory to use. Default: myFenfire/ |
34 |
|
|
35 |
dbg = 0 |
dbg = 1 |
36 |
|
|
37 |
def p(*s): |
def p(*s): |
38 |
print 'fenfire.bin.fenpdf10::',s |
print 'fenfire.bin.fenpdf10::',s |
137 |
fen = ff.Fen() |
fen = ff.Fen() |
138 |
if do_load_graph: |
if do_load_graph: |
139 |
m = ModelMem() |
m = ModelMem() |
140 |
m.read(java.io.FileReader(FILE), None); |
m.read(java.io.FileReader(FILE), None) |
141 |
fen.constgraph = fen.graph = ff.swamp.Graphs.toGraph(m); |
fen.constgraph = fen.graph = ff.swamp.Graphs.toGraph(m) |
142 |
else: |
else: |
143 |
fen.graph = fen.constgraph = ff.swamp.impl.HashGraph() |
fen.graph = fen.constgraph = ff.swamp.impl.HashGraph() |
144 |
|
|
145 |
fen.txt = ff.impl.SimpleNodeContent(fen, myalph); |
fen.txt = ff.impl.SimpleNodeContent(fen, myalph) |
146 |
fen.txtfunc = fen.txt.getNodeFunction() |
fen.txtfunc = fen.txt.getNodeFunction() |
147 |
fen.enfiladeOverlap = fen.txt.getTransclusionIndex() |
fen.enfiladeOverlap = fen.txt.getTransclusionIndex() |
148 |
fen.alph = myalph |
fen.alph = myalph |