changes font handling for MultiBitStencil

This commit is contained in:
2023-06-27 21:20:08 +02:00
parent aaf8a9e5d0
commit abb8b45cd8
2 changed files with 52 additions and 30 deletions

View File

@ -168,8 +168,9 @@ public class BitVector implements IEvent {
}
}
}
if(res[i]==0)
res[i] = Character.forDigit(digit, 16); // ((digit < 10) ? '0' + digit : 'a' + digit -10)
if(res[i]==0) {
res[i] = (digit < 10) ? (char)('0' + digit) : (char)('A' - 10 + digit);
}
start_idx=3;
}
int idx=0;