Open Rikk opened 9 years ago
I can reproduce this with r955
Does the same happen with Scite? On Jul 12, 2015 1:23 AM, "Ricardo" notifications@github.com wrote:
This issue has been reported for Notepad++ https://github.com/notepad-plus-plus/notepad-plus-plus/issues/474, but also happens here.
nO-OnE-910 commented 8 hours ago
I have a very strange issue with my npp when I try to put a ∈ [element of], ∘ [small circle] or ⌀ [average] in a document. These characters are only displayed when I put a ○ [large circle] or ⊥ [bottom] character in the same line behind them, otherwise they are just blank squares. These are of course only the characters I tested, there are probably a lot more.
Here is a gif of the bug in action: (¬ ω π to show that only the 3 are affected) [image: gif] https://camo.githubusercontent.com/4500b2789bf4212acb6490543f3c2b8affa623b0/687474703a2f2f692e696d6775722e636f6d2f716f48777766432e676966 I'm just putting in or removing the character, it changes instantly
Am I the only one with these issues?
Test it yourself by putting this in your npp:
∈ ∘ ⌀
∈ ○ ∘ ○ ⌀ ○
∈ ⊥ ∘ ⊥ ⌀ ⊥
edit: ℕ ℤ ℚ ℝ ℂ ℍ are also part of the displayed only sometimes crew
— Reply to this email directly or view it on GitHub https://github.com/XhmikosR/notepad2-mod/issues/121.
Interestingly, this also happens on notepad2 v4.2.25, notepad2-mod, but not on notepad2 v5.0.26-beta4 nor SciTE (original Scintilla editor).
So I guess it's been fixed upstream. Not sure if there's the source code available for Notepad2 beta but last time I checked it wasn't.
Do you believe in God? In this world, there is one. The God is called Florian Balmer.
I asked this problem to The God, and The God answered as following... I'll write a PR.
Hello
Notepad2 5.0.26-beta4 makes use of SC_TECHNOLOGY_DIRECTWRITE [0], which seems to perform better font linking than the traditional SC_TECHNOLOGY_DEFAULT mode, and may thus fix some GDI quirks? The same problem seems to appear in Notepad2 5.0.26-beta4 if DirectWrite is disabled [1].
[0] http://www.scintilla.org/ScintillaDoc.html#SCI_SETTECHNOLOGY [1] http://www.flos-freeware.ch/development-releases/notepad2-FAQs.html#d2d-rendering
@bluenlive thanks for having the initiative to contact him!
Btw, 5.0.26-beta4 also seems to improve anti-aliasing/cleartype, but it seems to have a problem in selecting and using some fonts, eg:
This bug not occurs when font is set to DejaVu Sans Mono (v2.3.7, https://dejavu-fonts.github.io/).
The unknown font bug @Rikk found has a temporary fix at https://sourceforge.net/p/scintilla/bugs/2027/.
This issue has been reported for Notepad++, but also happens here.
Interestingly, this also happens on notepad2 v4.2.25, notepad2-mod, but not on notepad2 v5.0.26-beta4 nor SciTE (original Scintilla editor).