15.3.3. crate_anon.crateweb.config.settings


Copyright (C) 2015-2018 Rudolf Cardinal (rudolf@pobox.com).

This file is part of CRATE.

CRATE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

CRATE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CRATE. If not, see <http://www.gnu.org/licenses/>.


Django settings for crateweb project.

Generated by ‘django-admin startproject’ using Django 1.8.4.

For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/

For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/

crate_anon.crateweb.config.settings.PATIENT_FONTSIZE = '13pt'

NB strange wkhtmltopdf bug

word wrap goes awry with font sizes of
11.6pt to 12.3pt inclusive
but is fine with
10, 11, 11.5, 12.4, 12.5, 13, 18…

Affects addresses and word wrap within tables. Using wkhtmltopdf 0.12.2.1 (with patched qt) See https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2505