antialiased font

This commit is contained in:
minjaesong
2020-11-16 13:30:20 +09:00
parent c6260bb355
commit 3aca6c84be
7 changed files with 36 additions and 10 deletions

11
assets/emittest.js Normal file
View File

@@ -0,0 +1,11 @@
con.clear();
con.move(1,1);
for (let i = 0; i < 2048; i++) {
if (i < 1024) con.color_pair(239, 0); else con.color_pair(0, 239);
let cx = (i%80)+1;
let cy = ((i/80)|0)+1;
//serial.printerr(cx+","+cy);
con.move(cy,cx);
con.addch(i%256);
}

View File

@@ -549,7 +549,7 @@ bStatus.builtin = {
let varname = asgnObj.asgnVarName
// check for variable name collision (e.g. 10 K=1TO10 \n 20 FOR I=K should work but 20 FOR K=K must not)
if (bStatus.vars[varname] !== undefined)) throw lang.dupDef(lnum, varname);
if (bStatus.vars[varname] !== undefined) throw lang.dupDef(lnum, varname);
// assign new variable
bStatus.vars[varname] = asgnObj.asgnValue