notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Reduce the number of Asserts in the release?

Open lostindark opened this issue 4 months ago • 1 comments

Today each release produce 75 files. It is pretty difficult for a new user to find the right one.

A few thoughts:

  1. Combine language versions. A single file with all languages would only be about 1MB larger, a negligible size for modern computers. This would eliminate the need for users to choose a specific language version. This would reduce 90% of the asserts.

  2. Consolidate HD and non-HD versions. Why do we need non-HD version for AVX2, x64, and ARM64? Isn't those system already support High DPI so we can just use HD version instead? If so, we can reduce half of the asserts.

lostindark avatar Aug 20 '25 07:08 lostindark

75 files

Here will be more after adding experimental support for AVX512 (issue #987).

Combine language versions

Single language builds only has two exes without extra DLLs (same as original Notepad2 and Notepad2-Mod), some people like this.

Why do we need non-HD version

HD version (enabled by NP2_ENABLE_HIDPI_IMAGE_RESOURCE) is larger than non-HD version, 96 DPI at 100% scaling is common for desktop monitor, I only use non-HD version.

zufuliu avatar Aug 20 '25 12:08 zufuliu