Download Pelles C here: http://www.pellesc.se
if ((dwFontType & TRUETYPE_FONTTYPE) != 0 &&
(pntm->ntmFontSig.fsCsb[0] & pls->lsCsbSupported[0]) == 0 &&
(pntm->ntmFontSig.fsCsb[1] & pls->lsCsbSupported[1]) == 0)
return 1; /* unwanted font, but keep enumerating */
if ((dwFontType & TRUETYPE_FONTTYPE) != 0 &&
(pntm->ntmFontSig.fsCsb[0] & FS_LATIN1) == 0 && /* <=== NEW */
(pntm->ntmFontSig.fsCsb[0] & pls->lsCsbSupported[0]) == 0 &&
(pntm->ntmFontSig.fsCsb[1] & pls->lsCsbSupported[1]) == 0)
return 1; /* unwanted font, but keep enumerating */
Not pretty, but I can't a better approach right now so this will have to do...Quote from: Pelle on April 21, 2026, 03:05:19 PMMaybe. I need to check things more - this part of the IDE hasn't changed for 10+ years, so...
Quote from: ander_cc on April 20, 2026, 10:02:34 AMI check the output of your code paste below.Maybe. I need to check things more - this part of the IDE hasn't changed for 10+ years, so...
I think you filter the fonts with "GB2312_CHARSET" ? Maybe add "ANSI_CHARSET" could fix it.
#include <stdio.h>
int main(void)
{
int i = 1;
int s = 0;
do {
//s = s + (i*i)/i; // works
s = s + ((i << 1) >> 1); // works
i++;
} while (i <= 10);
printf("i = %d\n", i);
printf("Sum = %d\n", s);
return 0;
}#include <stdio.h>
int main(void)
{
int i = 0;
int s = 0;
do {
++i;
s = s + i;
} while (i <= 9);
printf("i = %d\n", i);
printf("Sum = %d\n", s);
return 0;
}
_text SEGMENT PARA 'CODE'
main PROC
sub rsp, 40
lea rcx, [@154]
call printf
lea rcx, [@156]
mov edx, 55
call printf
xor eax, eax
add rsp, 40
ret
main ENDP
_text ENDS
.rdata SEGMENT PARA 'CONST'
@156 label byte
db 53H, 75H, 6DH, 20H, 3DH, 20H, 25H, 64H ; 0000 _ Sum = %d
db 0AH, 00H
@154 label byte
db 69H, 20H, 3DH, 20H, 25H, 64H, 0AH, 00H ; 000A _ i = %d..
.rdata ENDS
for (i=1;i<11;i=i-(-1))Page created in 0.063 seconds with 15 queries.