notepad2-mod icon indicating copy to clipboard operation
notepad2-mod copied to clipboard

Can you add DirectWrite font render feature?

Open silenceleaf opened this issue 6 years ago • 3 comments

Can you add DirectWrite font render feature?

silenceleaf avatar Jul 23 '18 17:07 silenceleaf

Related issue https://github.com/XhmikosR/notepad2-mod/issues/121 and PR https://github.com/XhmikosR/notepad2-mod/pull/122.

zufuliu avatar Jul 28 '18 08:07 zufuliu

The PR #122 makes a fixed change to DirectWrite technology. Since several people reported font rendering issues related to DirectWrite (e.g. blurry font display - maybe results from unfavorable Clear Type calibration), it is better to make this configurable. A guarding quality enhancement measure would be to introduce a "fractional font size definition" possibility to find the monitor/resolution conditioned "sweet spot". Coding parts can be found at Notepad3@Github.

RaiKoHoff avatar Jul 28 '18 11:07 RaiKoHoff

Switch between GDI and Direct2D DirectWrite is implemented in Menu -> Settings -> Rendering Technology since https://github.com/zufuliu/notepad2/commit/b7ad639fa6e576db2df04ce72e2b69f409f386bd, please build it (see Build Notepad2 and metapath), and give a try.

zufuliu avatar Jul 31 '18 00:07 zufuliu