=== modified file 'openerp/report/render/rml2pdf/customfonts.py' --- openerp/report/render/rml2pdf/customfonts.py 2013-05-28 18:50:31 +0000 +++ openerp/report/render/rml2pdf/customfonts.py 2013-08-13 11:30:09 +0000 @@ -71,6 +71,9 @@ '/usr/share/fonts/TTF/*', # at Mandriva/Mageia '/usr/share/fonts/TTF', # Arch Linux ] +TTFSearchPath_FreeBSD = [ + '/usr/local/share/fonts/TruType', # FreeBSD + ] TTFSearchPath_Windows = [ 'c:/winnt/fonts', @@ -90,6 +93,7 @@ 'Darwin': TTFSearchPath_Darwin, 'Windows': TTFSearchPath_Windows, 'Linux': TTFSearchPath_Linux, + 'freebsd': TTFSearchPath_FreeBSD } # ----- The code below is less distro-specific, please avoid editing! -------