---
title: "Discussion on \"The Arabic PDF bug was never in my code — it was the library version\" | Hashnode"
description: "Discussion on \"The Arabic PDF bug was never in my code — it was the library version\". I spent months writing bidi reconstruction logic for reversed Arabic text in PDF extraction. The actual fix was deleting all of it and upgrading two dependencies. Here is how to tell which one is lying to you."
url: "https://hashnode.com/posts/the-arabic-pdf-bug-was-never-in-my-code-it-was-the-library-version/6a96eb4843ef22f15e185402"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Arabic PDF bug was never in my code — it was the library version](https://confileo-eng.hashnode.dev/the-arabic-pdf-bug-was-never-in-my-code-it-was-the-library-version?utm_source=hashnode&utm_medium=feed)

I spent months writing bidi reconstruction logic for reversed Arabic text in PDF extraction. The actual fix was deleting all of it and upgrading two dependencies. Here is how to tell which one is lying to you.

Sep 1 · 6 min read · confileo-eng.hashnode.dev  
Read the article

-   [#pdf](https://hashnode.com/tag/pdf)
-   [#python](https://hashnode.com/tag/python)
-   [#i18n](https://hashnode.com/tag/i18n)
-   [#debugging](https://hashnode.com/tag/debugging)

## Written by

[Mahmoud Daghash](https://hashnode.com/@mahmouddaghash)

@mahmouddaghash · Cairo, Egypt

  
[View profile](https://hashnode.com/@mahmouddaghash)

Building Confileo — free PDF and text tools. I write about Arabic text rendering, Unicode, and the bugs that only show up in right-to-left.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
