src/reportlab/rl_settings.py
author robin <robin@reportlab.com>
Fri, 23 Mar 2018 16:02:08 +0000
changeset 4389 61a7f0840d00
parent 4330 617ffa6bbdc8
child 4410 bd848827483f
permissions -rw-r--r--
more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4330
617ffa6bbdc8 changes for release 3.4.0
robin <robin@reportlab.com>
parents: 4277
diff changeset
     1
#Copyright ReportLab Europe Ltd. 2000-2017
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
     2
#see license.txt for license details
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
     3
'''default settings for reportlab
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
     4
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
     5
to override these drop a module rl_local_settings.py parallel to this file or
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
     6
anywhere on the path.
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
     7
'''
3972
b5870c0f3eb4 patches from Matthias Klose
robin
parents: 3916
diff changeset
     8
import os, sys
4252
fe660f227cac changes for release 3.3.0
robin
parents: 4213
diff changeset
     9
__version__='3.3.0'
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    10
__all__=tuple('''allowTableBoundsErrors
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    11
shapeChecking
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    12
defaultEncoding
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    13
defaultGraphicsFontName
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    14
pageCompression
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    15
useA85
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    16
defaultPageSize
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    17
defaultImageCaching
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    18
ZLIB_WARNINGS
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    19
warnOnMissingFontGlyphs
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    20
verbose
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    21
showBoundary
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    22
emptyTableAction
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    23
invariant
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    24
eps_preview_transparent
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    25
eps_preview
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    26
eps_ttf_embed
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    27
eps_ttf_embed_uid
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    28
overlapAttachedSpace
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    29
longTableOptimize
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    30
autoConvertEncoding
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    31
_FUZZ
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    32
wrapA85
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    33
fsEncodings
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    34
odbc_driver
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    35
platypus_link_underline
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    36
canvas_basefontname
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    37
allowShortTableRows
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    38
imageReaderFlags
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    39
paraFontSizeHeightOffset
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    40
canvas_baseColor
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    41
ignoreContainerActions
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    42
ttfAsciiReadable
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    43
pdfMultiLine
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    44
pdfComments
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    45
debug
4094
186f3923093a transfrred rtl-support changes to default, version --> 3.1.13
robin
parents: 4085
diff changeset
    46
rtlSupport
4108
893cd2c16ec1 flowables.py: make width behaviour of _listWrapOn more controllable, add rl_settings.listWrapOnFakeWidth & bump version to 3.1.16
robin
parents: 4094
diff changeset
    47
listWrapOnFakeWidth
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    48
T1SearchPath
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    49
TTFSearchPath
4135
226667ad6b1f Viktoras Agejevas' proportional underlining patch (slightly modified); version -->3.1.34
robin
parents: 4108
diff changeset
    50
CMapSearchPath
4195
5abb3b7f93b1 added rl_settings.errorOnDuplicatePageLabelPage & support in PageLabel class for stable sorting
robin
parents: 4136
diff changeset
    51
decimalSymbol
4213
577178727e17 autoGenerateMissingTTFName
robin
parents: 4195
diff changeset
    52
errorOnDuplicatePageLabelPage
4262
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
    53
autoGenerateMissingTTFName
4277
838129322a55 really merge para-measure-fix; version-->3.3.11
robin
parents: 4264
diff changeset
    54
allowTTFSubsetting
4389
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
    55
spaceShrinkage
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
    56
underlineWidth
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
    57
underlineOffset
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
    58
underlineGap
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
    59
strikeWidth
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
    60
strikeOffset
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
    61
strikeGap'''.split())
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    62
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    63
allowTableBoundsErrors =    1 # set to 0 to die on too large elements in tables in debug (recommend 1 for production use)
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    64
shapeChecking =             1
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    65
defaultEncoding =           'WinAnsiEncoding'       # 'WinAnsi' or 'MacRoman'
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    66
defaultGraphicsFontName=    'Times-Roman'           #initializer for STATE_DEFAULTS in shapes.py
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    67
pageCompression =           1                       # default page compression mode
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    68
useA85 =                    1                       #set to 0 to disable Ascii Base 85 stream filters
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    69
defaultPageSize =           'A4'                    #default page size
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    70
defaultImageCaching =       0                       #set to zero to remove those annoying cached images
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    71
ZLIB_WARNINGS =             1
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    72
warnOnMissingFontGlyphs =   0                       #if 1, warns of each missing glyph
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    73
verbose =                   0
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    74
showBoundary =              0                       # turns on and off boundary behaviour in Drawing
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    75
emptyTableAction=           'error'                 # one of 'error', 'indicate', 'ignore'
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    76
invariant=                  0                       #produces repeatable,identical PDFs with same timestamp info (for regression testing)
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    77
eps_preview_transparent=    None                    #set to white etc
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    78
eps_preview=                1                       #set to False to disable
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    79
eps_ttf_embed=              1                       #set to False to disable
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    80
eps_ttf_embed_uid=          0                       #set to 1 to enable
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    81
overlapAttachedSpace=       1                       #if set non false then adajacent flowable space after
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    82
                                                    #and space before are merged (max space is used).
4264
295afbf0f4c8 import Table _rowpositions calculation; version-->3.3.5
robin
parents: 4262
diff changeset
    83
longTableOptimize =         1                       #default do use Henning von Bargen's long table optimizations
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    84
autoConvertEncoding  =      0                       #convert internally as needed (experimental)
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    85
_FUZZ=                      1e-6                    #fuzz for layout arithmetic
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    86
wrapA85=                    0                       #set to 1 to get old wrapped line behaviour
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    87
fsEncodings=('utf8','cp1252','cp430')               #encodings to attempt utf8 conversion with
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    88
odbc_driver=                'odbc'                  #default odbc driver
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    89
platypus_link_underline=    0                       #paragraph links etc underlined if true
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    90
canvas_basefontname=        'Helvetica'             #this is used to initialize the canvas; if you override to make
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    91
                                                    #something else you are responsible for ensuring the font is registered etc etc
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    92
                                                    #this will be used everywhere and the font family connections will be made
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    93
                                                    #if the bold/italic/bold italic fonts are also registered and defined as a family.
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    94
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    95
allowShortTableRows=1                               #allows some rows in a table to be short
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    96
imageReaderFlags=0                                  #attempt to convert images into internal memory files to reduce
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    97
                                                    #the number of open files (see lib.utils.ImageReader)
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    98
                                                    #if imageReaderFlags&2 then attempt autoclosing of those files
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
    99
                                                    #if imageReaderFlags&4 then cache data 
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   100
                                                    #if imageReaderFlags==-1 then use Ralf Schmitt's re-opening approach
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   101
paraFontSizeHeightOffset=   1                       #if true paragraphs start at height-fontSize
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   102
canvas_baseColor=           None                    #initialize the canvas fill and stroke colors if this is set
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   103
ignoreContainerActions=     1                       #if true then action flowables in flowable _Containers will be ignored
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   104
ttfAsciiReadable=           1                       #smaller subsets when set to 0
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   105
pdfMultiLine=               0                       #use more lines in pdf etc
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   106
pdfComments=                0                       #put in pdf comments
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   107
debug=                      0                       #for debugging code
4094
186f3923093a transfrred rtl-support changes to default, version --> 3.1.13
robin
parents: 4085
diff changeset
   108
rtlSupport=                 0                       #set to 1 to attempt import of RTL assistance eg fribidi etc etc
4108
893cd2c16ec1 flowables.py: make width behaviour of _listWrapOn more controllable, add rl_settings.listWrapOnFakeWidth & bump version to 3.1.16
robin
parents: 4094
diff changeset
   109
listWrapOnFakeWidth=        1                       #set to 0/False to force platypus.flowables._listWrapOn to report correct widths
893cd2c16ec1 flowables.py: make width behaviour of _listWrapOn more controllable, add rl_settings.listWrapOnFakeWidth & bump version to 3.1.16
robin
parents: 4094
diff changeset
   110
                                                    #else it reports minimum(required,available) width
4389
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   111
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   112
underlineWidth=             ''                      #empty to use canvas strokeWidth or a distance or number*<letter>
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   113
                                                    #   num * <letter> make value proportional to a font size
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   114
                                                    #   P paragraph font size
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   115
                                                    #   L line max font size
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   116
                                                    #   f first use font size
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   117
                                                    #   F max fontsize in the tag
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   118
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   119
underlineOffset=            '-0.125*F'              #fraction of fontSize from baseline to draw underlines at.
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   120
underlineGap=               '1'                     #gap for double/triple underline
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   121
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   122
strikeWidth=                ''
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   123
strikeOffset=               '0.25*F'                #fraction of fontSize from baseline to draw strike through at.
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   124
strikeGap=                  '1'                     #gap for double/triple strike
61a7f0840d00 more controllable under and strike lines; fix for issue 137 contributed by Tom Alexander @ bitbucket; version-->3.4.30
robin <robin@reportlab.com>
parents: 4330
diff changeset
   125
4135
226667ad6b1f Viktoras Agejevas' proportional underlining patch (slightly modified); version -->3.1.34
robin
parents: 4108
diff changeset
   126
                                                    #by default typical value 0.05. may be overridden on a parastyle.
4136
16f067cf3dae added rl_settings.decimalSymbol & support for simple bullet anchoring, version-->3.1.35
robin
parents: 4135
diff changeset
   127
decimalSymbol=              '.'                     #what we use to align floats numerically
4195
5abb3b7f93b1 added rl_settings.errorOnDuplicatePageLabelPage & support in PageLabel class for stable sorting
robin
parents: 4136
diff changeset
   128
errorOnDuplicatePageLabelPage= 0                    #if True will cause repeated PageLabel page numbers to raise an error.
4213
577178727e17 autoGenerateMissingTTFName
robin
parents: 4195
diff changeset
   129
autoGenerateMissingTTFName=0                        #if true we try to auto generate any missing TTF font name
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   130
4262
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   131
allowTTFSubsetting=         []                      #list of font file names that will be subsetted even when they
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   132
                                                    #have the no subsetting flag set. These should be fonts for which
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   133
                                                    #the user has explicit permission from the rights holder(s). 
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   134
                                                    #This flag could already be overcome by hacking the code.
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   135
                                                    #ReportLab takes no responsibility for the use of this setting.
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   136
4277
838129322a55 really merge para-measure-fix; version-->3.3.11
robin
parents: 4264
diff changeset
   137
spaceShrinkage=0.05                                 #allowable space shrinkage to make lines fit
838129322a55 really merge para-measure-fix; version-->3.3.11
robin
parents: 4264
diff changeset
   138
4262
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   139
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   140
# places to look for T1Font information
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   141
T1SearchPath =  (
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   142
                'c:/Program Files/Adobe/Acrobat 9.0/Resource/Font', 
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   143
                'c:/Program Files/Adobe/Acrobat 8.0/Resource/Font', 
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   144
                'c:/Program Files/Adobe/Acrobat 7.0/Resource/Font', 
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   145
                'c:/Program Files/Adobe/Acrobat 6.0/Resource/Font', #Win32, Acrobat 6
4262
94d26172a3bc add rl_settings allowTTFSubsetting; version-->3.3.4
robin
parents: 4252
diff changeset
   146
                'c:/Program Files/Adobe/Acrobat 5.0/Resource/Font', #Win32, Acrobat 5
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   147
                'c:/Program Files/Adobe/Acrobat 4.0/Resource/Font', #Win32, Acrobat 4
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   148
                '%(disk)s/Applications/Python %(sys_version)s/reportlab/fonts', #Mac?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   149
                '/usr/lib/Acrobat9/Resource/Font',      #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   150
                '/usr/lib/Acrobat8/Resource/Font',      #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   151
                '/usr/lib/Acrobat7/Resource/Font',      #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   152
                '/usr/lib/Acrobat6/Resource/Font',      #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   153
                '/usr/lib/Acrobat5/Resource/Font',      #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   154
                '/usr/lib/Acrobat4/Resource/Font',      #Linux, Acrobat 4
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   155
                '/usr/local/Acrobat9/Resource/Font',    #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   156
                '/usr/local/Acrobat8/Resource/Font',    #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   157
                '/usr/local/Acrobat7/Resource/Font',    #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   158
                '/usr/local/Acrobat6/Resource/Font',    #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   159
                '/usr/local/Acrobat5/Resource/Font',    #Linux, Acrobat 5?
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   160
                '/usr/local/Acrobat4/Resource/Font',    #Linux, Acrobat 4
4085
b07c2c8b02de rl_settings.py: fix broken patch from the Feds
robin
parents: 4080
diff changeset
   161
                '/usr/share/fonts/default/Type1',       #Linux, Fedora
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   162
                '%(REPORTLAB_DIR)s/fonts',              #special
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   163
                '%(REPORTLAB_DIR)s/../fonts',           #special
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   164
                '%(REPORTLAB_DIR)s/../../fonts',        #special
4050
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   165
                '%(CWD)s/fonts',                        #special
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   166
                '~/fonts',
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   167
                '~/.fonts',
4052
7a869ff0ee64 rl_config.py & rl_settings.py: fix wrongly named envirnment variable
robin
parents: 4050
diff changeset
   168
                '%(XDG_DATA_HOME)s/fonts',
4050
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   169
                '~/.local/share/fonts',
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   170
                 )
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   171
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   172
# places to look for TT Font information
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   173
TTFSearchPath = (
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   174
                'c:/winnt/fonts',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   175
                'c:/windows/fonts',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   176
                '/usr/lib/X11/fonts/TrueType/',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   177
                '/usr/share/fonts/truetype',
4085
b07c2c8b02de rl_settings.py: fix broken patch from the Feds
robin
parents: 4080
diff changeset
   178
                '/usr/share/fonts',             #Linux, Fedora
b07c2c8b02de rl_settings.py: fix broken patch from the Feds
robin
parents: 4080
diff changeset
   179
                '/usr/share/fonts/dejavu',      #Linux, Fedora
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   180
                '%(REPORTLAB_DIR)s/fonts',      #special
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   181
                '%(REPORTLAB_DIR)s/../fonts',   #special
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   182
                '%(REPORTLAB_DIR)s/../../fonts',#special
4050
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   183
                '%(CWD)s/fonts',                #special
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   184
                '~/fonts',
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   185
                '~/.fonts',
4052
7a869ff0ee64 rl_config.py & rl_settings.py: fix wrongly named envirnment variable
robin
parents: 4050
diff changeset
   186
                '%(XDG_DATA_HOME)s/fonts',
4050
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   187
                '~/.local/share/fonts',
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   188
                #mac os X - from
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   189
                #http://developer.apple.com/technotes/tn/tn2024.html
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   190
                '~/Library/Fonts',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   191
                '/Library/Fonts',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   192
                '/Network/Library/Fonts',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   193
                '/System/Library/Fonts',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   194
                )
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   195
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   196
# places to look for CMap files - should ideally merge with above
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   197
CMapSearchPath = (
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   198
                  '/usr/lib/Acrobat9/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   199
                  '/usr/lib/Acrobat8/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   200
                  '/usr/lib/Acrobat7/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   201
                  '/usr/lib/Acrobat6/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   202
                  '/usr/lib/Acrobat5/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   203
                  '/usr/lib/Acrobat4/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   204
                  '/usr/local/Acrobat9/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   205
                  '/usr/local/Acrobat8/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   206
                  '/usr/local/Acrobat7/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   207
                  '/usr/local/Acrobat6/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   208
                  '/usr/local/Acrobat5/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   209
                  '/usr/local/Acrobat4/Resource/CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   210
                  'C:\\Program Files\\Adobe\\Acrobat\\Resource\\CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   211
                  'C:\\Program Files\\Adobe\\Acrobat 9.0\\Resource\\CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   212
                  'C:\\Program Files\\Adobe\\Acrobat 8.0\\Resource\\CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   213
                  'C:\\Program Files\\Adobe\\Acrobat 7.0\\Resource\\CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   214
                  'C:\\Program Files\\Adobe\\Acrobat 6.0\\Resource\\CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   215
                  'C:\\Program Files\\Adobe\\Acrobat 5.0\\Resource\\CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   216
                  'C:\\Program Files\\Adobe\\Acrobat 4.0\\Resource\\CMap',
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   217
                  '%(REPORTLAB_DIR)s/fonts/CMap',       #special
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   218
                  '%(REPORTLAB_DIR)s/../fonts/CMap',    #special
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   219
                  '%(REPORTLAB_DIR)s/../../fonts/CMap', #special
4050
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   220
                  '%(CWD)s/fonts/CMap',             #special
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   221
                  '%(CWD)s/fonts',              #special
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   222
                  '~/fonts/CMap',
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   223
                  '~/.fonts/CMap',
4052
7a869ff0ee64 rl_config.py & rl_settings.py: fix wrongly named envirnment variable
robin
parents: 4050
diff changeset
   224
                  '%(XDG_DATA_HOME)s/fonts/CMap',
4050
a899d3baa5f4 __init__.py, rl_config.py & rl_settings.py: revamp initialization yet again
robin
parents: 3991
diff changeset
   225
                  '~/.local/share/fonts/CMap',
3916
647b4ba8b885 rl_config.py & rl_settings.py: values in rl_settings.py, allows better local_rl_settings.py
robin
parents:
diff changeset
   226
                  )
3972
b5870c0f3eb4 patches from Matthias Klose
robin
parents: 3916
diff changeset
   227
b5870c0f3eb4 patches from Matthias Klose
robin
parents: 3916
diff changeset
   228
if sys.platform.startswith('linux'):
3991
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   229
    def _findFontDirs(*ROOTS):
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   230
        R = [].append
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   231
        for rootd in ROOTS:
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   232
            for root, dirs, files in os.walk(rootd):
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   233
                if not files: continue
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   234
                R(root)
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   235
        return tuple(R.__self__)
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   236
    T1SearchPath = T1SearchPath + _findFontDirs(
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   237
                        '/usr/share/fonts/type1',
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   238
                        '/usr/share/fonts/Type1',
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   239
                        )
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   240
    TTFSearchPath = TTFSearchPath + _findFontDirs(
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   241
                        '/usr/share/fonts/truetype',
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   242
                        '/usr/share/fonts/TTF',
c2ecb2cff1a9 rl_settings.py: fix root dirs for font dir searches (contributed by Matthias Klose)
robin
parents: 3972
diff changeset
   243
                        )