Fixed broken PDF export for Slovak, Czech, Turkish and possible other languages, closes #769 and #867