src/reportlab/rl_settings.py
branchhyphenation
changeset 4426 e0e1d3bb0b94
parent 4410 bd848827483f
child 4428 64e936f23aa6
equal deleted inserted replaced
4425:06728c6cd27c 4426:e0e1d3bb0b94
    57 underlineOffset
    57 underlineOffset
    58 underlineGap
    58 underlineGap
    59 strikeWidth
    59 strikeWidth
    60 strikeOffset
    60 strikeOffset
    61 strikeGap
    61 strikeGap
    62 hyphenationLang'''.split())
    62 hyphenationLang
       
    63 uriWasteReduce'''.split())
    63 
    64 
    64 allowTableBoundsErrors =    1 # set to 0 to die on too large elements in tables in debug (recommend 1 for production use)
    65 allowTableBoundsErrors =    1 # set to 0 to die on too large elements in tables in debug (recommend 1 for production use)
    65 shapeChecking =             1
    66 shapeChecking =             1
    66 defaultEncoding =           'WinAnsiEncoding'       # 'WinAnsi' or 'MacRoman'
    67 defaultEncoding =           'WinAnsiEncoding'       # 'WinAnsi' or 'MacRoman'
    67 defaultGraphicsFontName=    'Times-Roman'           #initializer for STATE_DEFAULTS in shapes.py
    68 defaultGraphicsFontName=    'Times-Roman'           #initializer for STATE_DEFAULTS in shapes.py
   137 
   138 
   138 spaceShrinkage=0.05                                 #allowable space shrinkage to make lines fit
   139 spaceShrinkage=0.05                                 #allowable space shrinkage to make lines fit
   139 hyphenationLang=''                                  #if pyphen installed set this to the language of your choice
   140 hyphenationLang=''                                  #if pyphen installed set this to the language of your choice
   140                                                     #eg 'en_GB'
   141                                                     #eg 'en_GB'
   141 
   142 
       
   143 uriWasteReduce=0.3                                  #split URI if we would waste 0.3 of a line or if the URI#
       
   144                                                     #would not fit on the next line
       
   145 
   142 # places to look for T1Font information
   146 # places to look for T1Font information
   143 T1SearchPath =  (
   147 T1SearchPath =  (
   144                 'c:/Program Files/Adobe/Acrobat 9.0/Resource/Font', 
   148                 'c:/Program Files/Adobe/Acrobat 9.0/Resource/Font', 
   145                 'c:/Program Files/Adobe/Acrobat 8.0/Resource/Font', 
   149                 'c:/Program Files/Adobe/Acrobat 8.0/Resource/Font', 
   146                 'c:/Program Files/Adobe/Acrobat 7.0/Resource/Font', 
   150                 'c:/Program Files/Adobe/Acrobat 7.0/Resource/Font',