mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #108: Add accessibility options in pdf reader [enhancement] - settings in ui, finish work
This commit is contained in:
@ -1457,7 +1457,14 @@ void PDFCMSManager::setSettings(const PDFCMSSettings& settings)
|
||||
|
||||
PDFColorConvertor PDFCMSManager::getColorConvertor() const
|
||||
{
|
||||
return PDFColorConvertor();
|
||||
QMutexLocker lock(&m_mutex);
|
||||
|
||||
PDFColorConvertor colorConvertor;
|
||||
colorConvertor.setBackgroundColor(m_settings.backgroundColor);
|
||||
colorConvertor.setForegroundColor(m_settings.foregroundColor);
|
||||
colorConvertor.setHighContrastBrightnessFactor(m_settings.sigmoidSlopeFactor);
|
||||
colorConvertor.setBitonalThreshold(m_settings.bitonalThreshold);
|
||||
return colorConvertor;
|
||||
}
|
||||
|
||||
const PDFColorProfileIdentifiers& PDFCMSManager::getOutputProfiles() const
|
||||
|
Reference in New Issue
Block a user