I have a probable bug, and a more general question about the possibilities of 
customising the output of mwlib.rl
Bug: if I put
text_align = TA_LEFT

in my customconfig.py to try and produce left aligned text rather than 
justified text in the PDF file then the render server never makes any progress. 
In the log file for mwlib.cgi I get an endless sequence of lines like
2010-02-18T16:23:38 mwlib.serve.info >> render_status 8c34910e5f6a8f22 rl
each one second apart, whilst the rendering web page sticks at 0% completed. 
Checking processes shows that mw-render is being started up for scratch for 
each refresh of the page, and has exited before the next refresh causes the 
next instance to start.
If  I comment the line back out, then everything starts working again, but 
obviously text is justified not left aligned.

The more general question is about the different section styles defined in 
pdfstyles.py. There are lots of blocks like 
    if mode == 'license':
        style.fontSize = 5
        style.leading = 1
        style.spaceBefore = 0

Is there any way I can disagree and (e.g.) change the font size for license 
blocks because I want it bigger? It seems if I just over-ride it 
unconditionally, then I will affect all text, but where do I get an object to 
test against from, or is the customconfig.py mechanism not designed for this?

Richard



      

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mwlib?hl=en.

Reply via email to