Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

This is a program translation notepad2 To Arabic تعريب برنامج المفكرة2 #217

Open
thamermousa opened this issue Apr 18, 2018 · 3 comments

Comments

@thamermousa
Copy link

This is a program translation notepad2 To Arabic تعريب برنامج المفكرة2

مفكرة Notepad2.zip

2018-04-18_074326

But there is no choice
Read from right to left

2018-04-18_074458

2018-04-18_074540

@zufuliu
Copy link
Contributor

zufuliu commented Apr 18, 2018

Right to left is not finished in current Scintilla,
https://sourceforge.net/p/scintilla/feature-requests/1214/

Currently Notepad2-mod use 3.7.x long-team version of Scintilla, I think you need to replace Scintilla with a new version after Right to left got finished.

zufuliu added a commit to zufuliu/notepad4 that referenced this issue Jul 28, 2018
@zufuliu
Copy link
Contributor

zufuliu commented Jul 28, 2018

Bidirectional is added in Scintilla since 4.1.0 for Direct2D (Vista and above) and macOS Cocoa, see release note on https://www.scintilla.org/.
You could contact the developer of the translated program tell she or he to upgrade Scintilla in Notepad2 to 4.1.

Related changes should made in Notepad2's self code include:

  1. Enable Direct2D, just need to build Notepad2 without define DISABLE_D2D, see zufuliu/notepad4@5a9c2a9.
  2. Set rendering technology to DirectWrite, see zufuliu/notepad4@b7ad639
  3. Set bidirectional to "Left to Right", see zufuliu/notepad4@ef9fe08

It's just a few changes, hope this help you and others.

However there are some issues with Direct2D, which are worth to read: issue #121, PR #122, and issue rizonesoft/Notepad3#191.

@zufuliu
Copy link
Contributor

zufuliu commented Jul 30, 2018

For who use GCC, please note a bug report at https://sourceforge.net/p/scintilla/bugs/2026/ about SIGSEGV when bidirectional is enabled.

Also please refer https://sourceforge.net/p/mingw-w64/bugs/753/ or zufuliu/notepad4#16 on how to fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants