Make detection and fixing of PDF orientation as experimental and

default it to being disabled.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-01 23:59:27 -04:00
parent 7e8868ea80
commit b06918c333
4 changed files with 19 additions and 3 deletions

View File

@@ -101,3 +101,12 @@ setting_disable_transformed_image_cache = namespace.add_setting(
'of documents\' pages.'
)
)
setting_fix_orientation = namespace.add_setting(
global_name='DOCUMENTS_FIX_ORIENTATION', default=False,
help_text=_(
'Detect the orientation of each of the document\'s pages '
'and create a corresponding rotation transformation to '
'display it rightside up. This is an experimental '
'feature and it is disabled by default.'
)
)