[Bug 47690] New: When DirectWrite rendering is enabled in Notepad++ there are still no ligatures.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 27 13:31:23 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47690

            Bug ID: 47690
           Summary: When DirectWrite rendering is enabled in Notepad++
                    there are still no ligatures.
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: kolan_n at mail.ru
      Distribution: ---

[Notepad++](https://github.com/notepad-plus-plus/notepad-plus-plus) is an
application based on Scintilla.
Scintilla is a library for creating textareas.

[DirectWrite](https://docs.microsoft.com/en-us/windows/win32/directwrite/direct-write-portal)
is an API for text rendering with subpixel antialiasing which can be
hardware-accelerated using Direct2D.

[SCI_SETTECHNOLOGY](https://www.scintilla.org/ScintillaDox.html#SCI_SETTECHNOLOGY)
is a enum value identifying a call to Scintilla (in fact it is done using
Windows messages).
When it is set to values > 0 (SC_TECHNOLOGY_DIRECTWRITE,
SC_TECHNOLOGY_DIRECTWRITERETAIN, or SC_TECHNOLOGY_DIRECTWRITEDC), Scintilla
uses DirectDraw accelerated via Direct2D for rendering instead of an own
surrogate.

A byproduct of enebling DirectWrite rendering is ligatures support on fonts
having them, like Fira Code. In fact it is the main reason to enable
DirectWrite in NPP.

In Windows >7 everything works fine.

In Wine there are no ligatures (and some other issues).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list