[Bug]: Arabic Text Reversal and RTL Encoding Issues During Export
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
- Área
- documentation
Línea de trabajo
The issue covers several converters (PDF to Markdown, PDF to Text, PowerPoint to PDF) with no file, test or entry point named, and the Files involved field is empty. Start by reproducing with an Arabic PDF and locating the text extraction path in the C# converter code, then check how bidi ordering is applied. Done would mean extracted Arabic text reads in logical order in the output, but the fix needs bidi and shaping knowledge, so this is not a good first issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
Summary :
When exporting or converting files containing Arabic text (e.g., PDF to Markdown, PDF to Text, or PowerPoint to PDF) using Filee, the Arabic characters and words are rendered in reverse order (Left-to-Right instead of Right-to-Left), and characters appear disconnected or mirrored.
1. Environment
- Application Name: Filee
- Affected Operations:
- PDF to Markdown conversion
- PDF to Text extraction
- PowerPoint to PDF conversion
- Language/Encoding: Arabic (RTL - Right-to-Left scripts)
2. Steps to Reproduce
- Attempt to export or convert the file into Markdown, plain text, or PDF.
- Open the resulting output file.
3. Expected Behavior
- Arabic text should maintain correct Unicode shaping and Right-to-Left (RTL) reading direction.
- Words and letters should appear in their standard, readable form (e.g., "
البطولة المفتوحة").
4. Actual Behavior
- Text strings are extracted or rendered backwards and broken.
- Examples observed from exports:
البطولةappears asةلبطولةاorالبطولةا.المفتوحةappears as ةحوتفملا.- Formatting and spacing get corrupted due to improper handling of bidirectional text (Bidi) and Arabic script shaping.
5. Additional Notes
Please investigate the text extraction and rendering engine (OCR / conversion pipeline) to ensure proper Unicode support, Bidi algorithm handling, and RTL text direction preservation for Arabic documents.
What did you expect?
Before Converting
After Converting
Steps to reproduce
- Attempt to export or convert the file to Markdown, plain text, or PDF.
- Open the resulting output file.
Files involved
No response
Filee version
2.2.0
Operating system
Win10
Engines page status
No response
Log
- Lenguaje dominante
- C#
- Estrellas
- 3.6k
- Forks
- 192
- Merge medio
- 7 h 17 min
- PR fusionados (30 d)
- 393
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de KnifeLemon/Filee
-
[Format]: .dartAbiertoformats
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
KnifeLemon/Filee#980 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Bug]: chm文件转docx或者pdf失效Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
KnifeLemon/Filee#1017 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
转换为表格的功能加强Abiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
KnifeLemon/Filee#1016 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: DOCX to PDF failsPosiblemente ocupada @Marouane-elfadli la tomó hoy. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
KnifeLemon/Filee#1011 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Format]: .p7mAbiertoformats
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
KnifeLemon/Filee#1010 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de KnifeLemon/Filee
Issues similares
-
effort:S P3 refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nightscout/nocturne#3243 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
dasher-project/Dasher-Windows#84 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
libnativeapi/nativeapi#21 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 3 días
-
enhancement P3 performance
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
thomhurst/TUnit#7380 · 2 comentarios ·
Los mantenedores suelen responder en 1 día