giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Print/Export issue with mixed RTL&LTR texts #2455

Open asharifpour opened 3 months ago

asharifpour commented 3 months ago

I'm using CherryTree 1.0.4 (both portable and installed versions) on Windows 10. My nodes are mostly mixed persian/english plain text. Everything works fine till I try to print or export any node.

The problem is: Only some parts of English/LTR phrase will be printed or exported and the rest of persian/RTL text is messed up and some parts are missing.

To Reproduce The Bug

  1. Unzip the attached test.zip file to find test.ctb
  2. open the test.ctb file
  3. print or export the single node in the file
  4. compare the output with the original note

Files Test.zip

OriginalNode

Output

giuspen commented 3 months ago

Thanks I will have a look, may be after the v1.1.0 release though