src/reportlab/lib/styles.py
branchhyphenation
changeset 4410 bd848827483f
parent 4389 61a7f0840d00
child 4415 0eeda71a61af
equal deleted inserted replaced
4409:e1546608f841 4410:bd848827483f
    30                                 underlineOffset as _baseUnderlineOffset, \
    30                                 underlineOffset as _baseUnderlineOffset, \
    31                                 underlineGap as _baseUnderlineGap, \
    31                                 underlineGap as _baseUnderlineGap, \
    32                                 strikeWidth as _baseStrikeWidth, \
    32                                 strikeWidth as _baseStrikeWidth, \
    33                                 strikeOffset as _baseStrikeOffset, \
    33                                 strikeOffset as _baseStrikeOffset, \
    34                                 strikeGap as _baseStrikeGap, \
    34                                 strikeGap as _baseStrikeGap, \
    35                                 spaceShrinkage, platypus_link_underline
    35                                 spaceShrinkage, platypus_link_underline, \
       
    36                                 hyphenationLang
    36 _baseFontNameB = tt2ps(_baseFontName,1,0)
    37 _baseFontNameB = tt2ps(_baseFontName,1,0)
    37 _baseFontNameI = tt2ps(_baseFontName,0,1)
    38 _baseFontNameI = tt2ps(_baseFontName,0,1)
    38 _baseFontNameBI = tt2ps(_baseFontName,1,1)
    39 _baseFontNameBI = tt2ps(_baseFontName,1,1)
    39 
    40 
    40 ###########################################################
    41 ###########################################################
   146         'strikeOffset': _baseStrikeOffset,  #fraction of fontsize to offset strikethrough
   147         'strikeOffset': _baseStrikeOffset,  #fraction of fontsize to offset strikethrough
   147         'strikeGap': _baseStrikeGap,        #gap for double/triple strike
   148         'strikeGap': _baseStrikeGap,        #gap for double/triple strike
   148         'linkUnderline': platypus_link_underline,
   149         'linkUnderline': platypus_link_underline,
   149         #'underlineColor':  None,
   150         #'underlineColor':  None,
   150         #'strikeColor': None,
   151         #'strikeColor': None,
       
   152         'hyphenationLang': hyphenationLang,
   151         }
   153         }
   152 
   154 
   153 class LineStyle(PropertySet):
   155 class LineStyle(PropertySet):
   154     defaults = {
   156     defaults = {
   155         'width':1,
   157         'width':1,