On Fri May 2 19:13:55 2025 +0000, Alex Henrie wrote:
This line actually isn't right either because if CP_ACP is a variable-length encoding such as UTF-8 and the source string is not null-terminated, the destination string could be shorter than the source string and the null terminator would not be placed in the correct location. I'll send a better fix.
We could probably always ignore last character in the source string, treating it as if it's always null. So essentially it likely enough to make a local copy of fontA, zero LF_FACESIZE-1, sit back and relax.