On Wed Sep 13 14:11:56 2023 +0000, Nikolay Sivov wrote:
It does not have to match gdi 1:1. My point was that looking up unicode categories for every character is not really necessary.
I was doing it this way for 1. future-proofing for later Unicode versions, 2. just to figure out what even determines whether a character is always considered to have no width. If 1. is not desired (I can imagine that these older functions are not updated anymore on Win?) then of course I can just hardcode the ranges.