src/reportlab/rl_settings.py
changeset 4389 61a7f0840d00
parent 4330 617ffa6bbdc8
child 4410 bd848827483f
equal deleted inserted replaced
4388:9f93d62b9f6e 4389:61a7f0840d00
    46 rtlSupport
    46 rtlSupport
    47 listWrapOnFakeWidth
    47 listWrapOnFakeWidth
    48 T1SearchPath
    48 T1SearchPath
    49 TTFSearchPath
    49 TTFSearchPath
    50 CMapSearchPath
    50 CMapSearchPath
    51 baseUnderlineProportion
       
    52 decimalSymbol
    51 decimalSymbol
    53 errorOnDuplicatePageLabelPage
    52 errorOnDuplicatePageLabelPage
    54 autoGenerateMissingTTFName
    53 autoGenerateMissingTTFName
    55 allowTTFSubsetting
    54 allowTTFSubsetting
    56 spaceShrinkage'''.split())
    55 spaceShrinkage
       
    56 underlineWidth
       
    57 underlineOffset
       
    58 underlineGap
       
    59 strikeWidth
       
    60 strikeOffset
       
    61 strikeGap'''.split())
    57 
    62 
    58 allowTableBoundsErrors =    1 # set to 0 to die on too large elements in tables in debug (recommend 1 for production use)
    63 allowTableBoundsErrors =    1 # set to 0 to die on too large elements in tables in debug (recommend 1 for production use)
    59 shapeChecking =             1
    64 shapeChecking =             1
    60 defaultEncoding =           'WinAnsiEncoding'       # 'WinAnsi' or 'MacRoman'
    65 defaultEncoding =           'WinAnsiEncoding'       # 'WinAnsi' or 'MacRoman'
    61 defaultGraphicsFontName=    'Times-Roman'           #initializer for STATE_DEFAULTS in shapes.py
    66 defaultGraphicsFontName=    'Times-Roman'           #initializer for STATE_DEFAULTS in shapes.py
   101 pdfComments=                0                       #put in pdf comments
   106 pdfComments=                0                       #put in pdf comments
   102 debug=                      0                       #for debugging code
   107 debug=                      0                       #for debugging code
   103 rtlSupport=                 0                       #set to 1 to attempt import of RTL assistance eg fribidi etc etc
   108 rtlSupport=                 0                       #set to 1 to attempt import of RTL assistance eg fribidi etc etc
   104 listWrapOnFakeWidth=        1                       #set to 0/False to force platypus.flowables._listWrapOn to report correct widths
   109 listWrapOnFakeWidth=        1                       #set to 0/False to force platypus.flowables._listWrapOn to report correct widths
   105                                                     #else it reports minimum(required,available) width
   110                                                     #else it reports minimum(required,available) width
   106 baseUnderlineProportion=    0.0                     #non-zero for doing font size proportional lines in Paragraph.py
   111 
       
   112 underlineWidth=             ''                      #empty to use canvas strokeWidth or a distance or number*<letter>
       
   113                                                     #   num * <letter> make value proportional to a font size
       
   114                                                     #   P paragraph font size
       
   115                                                     #   L line max font size
       
   116                                                     #   f first use font size
       
   117                                                     #   F max fontsize in the tag
       
   118 
       
   119 underlineOffset=            '-0.125*F'              #fraction of fontSize from baseline to draw underlines at.
       
   120 underlineGap=               '1'                     #gap for double/triple underline
       
   121 
       
   122 strikeWidth=                ''
       
   123 strikeOffset=               '0.25*F'                #fraction of fontSize from baseline to draw strike through at.
       
   124 strikeGap=                  '1'                     #gap for double/triple strike
       
   125 
   107                                                     #by default typical value 0.05. may be overridden on a parastyle.
   126                                                     #by default typical value 0.05. may be overridden on a parastyle.
   108 decimalSymbol=              '.'                     #what we use to align floats numerically
   127 decimalSymbol=              '.'                     #what we use to align floats numerically
   109 errorOnDuplicatePageLabelPage= 0                    #if True will cause repeated PageLabel page numbers to raise an error.
   128 errorOnDuplicatePageLabelPage= 0                    #if True will cause repeated PageLabel page numbers to raise an error.
   110 autoGenerateMissingTTFName=0                        #if true we try to auto generate any missing TTF font name
   129 autoGenerateMissingTTFName=0                        #if true we try to auto generate any missing TTF font name
   111 
   130