PDF Export Not Working in RTL (Right-to-Left) Interface Languages

Title:
PDF export fails when Obsidian interface language is set to RTL languages (e.g. Persian or Arabic)

Description:
When the Obsidian interface is switched to a right-to-left language such as Persian (فارسی) or Arabic (العربية), the built-in “Export to PDF” function stops working. Clicking on the export command produces no output and no error message appears in the console.

Steps to Reproduce:

  1. Open Obsidian.
  2. Go to Settings → Appearance → Language, and set it to فارسی or العربية.
  3. Open any note.
  4. Use the built-in command: File → Export to PDF (or use the command palette).
  5. Observe that no PDF file is generated.

Expected Behavior:
The note should be successfully exported to a PDF file, just like when the interface is in English or other LTR languages.

Actual Behavior:
No PDF file is created, and no visible error message appears. Switching the interface back to English restores normal PDF export functionality.

Environment:

  • App Version: (e.g. v1.9.14)
  • OS: (e.g. Windows 10 )
  • Language: Persian (فارسی) or Arabic (العربية)
  • Community Plugins: Disabled (tested in Safe Mode)

Additional Notes:

  • The issue seems related to the directionality or localization of the UI, not to any specific note content.
  • Occurs even with plain text files and in Safe Mode.
  • May involve CSS or internal PDF rendering components not fully supporting RTL UI layouts.

thanks