RTL languages & Text Rendering Issues in PDF Knowledge Base Imports
-
Hello,
We are experiencing a significant text-rendering issue within the Knowledge Base Manager when importing or processing PDF files that contain Right-to-Left (RTL) languages.
Currently, the internal PDF processing/parsing library used by your plugin does not support RTL script properly. As a result, text extracted from uploaded PDFs is reversed (rendered completely backward and unreadable).
For example, taking the English equivalent sentence “My dog has learned a new trick“, the text appears like this:
“kcirt wen a denrael sah god yM”
This makes the content entirely illegible, as all uploaded PDF content becomes unreadable. In addition, because the text is indexed in reverse order, searching the knowledge base is practically impossible, as you most type search keywords backward to get a matchs.
To properly support RTL languages and character shaping, I would like to recommend updating the PDF handling library or utilizing a robust library like mPDF (which natively handles RTL text shaping, BiDi algorithms, and font embedding for right-to-left languages as well).
Could you please look into this or advise if there is a workaround or a planned update to address RTL text extraction?
Thank you!
You must be logged in to reply to this topic.