f3e7afaaca
res_font model gains family, path and mode field Basic fonts embedded in pdf (Helvetica, Times and Courier) are data Fix reports using font names to be valid (eg: DejaVu Sans Bold -> DejaVuSans-Bold) default_get of res_company does not scan the filesystem anymore family field is new name_get font for res_font (more user friendly) Domain on displayed font to only 'normal ones' (not bold or italic) Handle fonts in 'book' mode as normal in setTTFontMapping Relax constraint on res_font to unique family and name ('name' was actually family before) font_scan is called on 'reload fonts' action button and for each report rendering font_scan is lazy when loaded from report and scanning the filesystem only if no font recorded in filesystem '/dev/null' in font path is used to add fonts in the list but not loaded by reportlab Scanning the filesystem triggers clear_caches clear_cache resets the list of found fonts to empty list to make font_scan call to reload the full list (when redering a report on any worker, will always get the updated font list after a scan) Add access rights for fonts (read everybody, create admin, call font_scan as superuser in report rendering) Remove font hack with BaseCustomTTFonts, rely fully on the system fonts Use glob instead of listdir (needed for path like '/usr/share/fonts/TTF/*') Make warning message from reportlab more self-explaining. Also make the runbot green (which is nice) bzr revid: mat@openerp.com-20131209171338-o796pldia9da3kt2 |
||
---|---|---|
.. | ||
printscreen | ||
pyPdf | ||
render | ||
__init__.py | ||
common.py | ||
custom.py | ||
int_to_text.py | ||
interface.py | ||
misc.py | ||
preprocess.py | ||
print_fnc.py | ||
print_xml.py | ||
report_sxw.py |