Fix diacritics in Sahana PDF exports, closes #8
This commit is contained in:
parent
71fb5a7ca3
commit
13153d341b
@ -36,8 +36,8 @@ RUN EOF
|
|||||||
pip install -r /srv/web2py/applications/eden/optional_requirements.txt
|
pip install -r /srv/web2py/applications/eden/optional_requirements.txt
|
||||||
|
|
||||||
# Copy fonts with Czech glyphs
|
# Copy fonts with Czech glyphs
|
||||||
cp /usr/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf /srv/web2py/applications/eden/static/fonts/DejaVuSerif-Bold.ttf
|
cp /usr/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf /srv/web2py/applications/eden/static/fonts/Helvetica-Bold.ttf
|
||||||
cp /usr/share/fonts/ttf-dejavu/DejaVuSerif.ttf /srv/web2py/applications/eden/static/fonts/DejaVuSerif.ttf
|
cp /usr/share/fonts/ttf-dejavu/DejaVuSerif.ttf /srv/web2py/applications/eden/static/fonts/Helvetica.ttf
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
COPY lxc
|
COPY lxc
|
||||||
|
@ -171,7 +171,7 @@ def config(settings):
|
|||||||
# Uncomment this to Translate Site Names
|
# Uncomment this to Translate Site Names
|
||||||
#settings.L10n.translate_org_site = True
|
#settings.L10n.translate_org_site = True
|
||||||
# PDF font
|
# PDF font
|
||||||
settings.L10n.pdf_export_font = ['DejaVuSerif', 'DejaVuSerif-Bold']
|
settings.L10n.pdf_export_font = ['Helvetica', 'Helvetica-Bold']
|
||||||
|
|
||||||
# Finance settings
|
# Finance settings
|
||||||
settings.fin.currencies = {
|
settings.fin.currencies = {
|
||||||
|
@ -114,7 +114,7 @@ def config(settings):
|
|||||||
settings.L10n.time_format = "%H:%M:%S"
|
settings.L10n.time_format = "%H:%M:%S"
|
||||||
|
|
||||||
# PDF font
|
# PDF font
|
||||||
settings.L10n.pdf_export_font = ['DejaVuSerif', 'DejaVuSerif-Bold']
|
settings.L10n.pdf_export_font = ['Helvetica', 'Helvetica-Bold']
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Messaging
|
# Messaging
|
||||||
|
Loading…
Reference in New Issue
Block a user