Commit dff61c75 by doszhang

dos

parent 705f3610
......@@ -325,7 +325,7 @@ function drawNum() {
}
function drawUserInfo(name, business, fontsize, fontweight) {
fontsize = fontsize * 4;
fontsize = fontsize * 2;
posterCtx.font = fontweight + ' ' + fontsize + 'px normal';
let {
idX,
......@@ -336,7 +336,7 @@ function drawUserInfo(name, business, fontsize, fontweight) {
let idObj = new Image();
idObj.src = '/Public/static/image2/id.png';
idObj.onload = function () {
posterCtx.drawImage(idObj, idX, 497 * 2, idInfo.width * 2, idInfo.height * 2);
posterCtx.drawImage(idObj, idX, 497 * 2, idInfo.width * 4, idInfo.height * 4);
txtDraw(posterCtx, name, '#fff', nameX, 512 * 2);
let noObj = new Image();
noObj.src = '/Public/static/image2/no.png';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment