Skip to content
Snippets Groups Projects
Commit 702f9471 authored by amelinand's avatar amelinand
Browse files

write cksum in italic.

parent be10dad4
No related branches found
No related tags found
No related merge requests found
......@@ -160,15 +160,15 @@
const LOGO_WIDTH_AND_HEIGHT = 175;
const IMAGE_PLACEHOLDER = "./img/logo_g.png"
const TITLE_FONT = "45px -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif";
const TITLE_FONT = "45px -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen-Sans','Ubuntu','Cantarell','Helvetica Neue','sans-serif'";
const INFOS_FONT = "30px -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif";
const INFOS_FONT = "30px -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen-Sans','Ubuntu','Cantarell','Helvetica Neue','sans-serif'";
const INFOS_START_POSITION = 150;
const INFOS_LINE_BREAK = 50;
const CKSUM_COLOR = "#686868"
const PUBKEY_URI_FONT = "20px -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif";
const PUBKEY_URI_FONT = "20px -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen-Sans','Ubuntu','Cantarell','Helvetica Neue','sans-serif'";
const G1_WRONG_SYMBOL = "G1";
const G1_SYMBOL = "Ğ1";
......@@ -347,6 +347,7 @@
// write checksum in grey
ctx.save();
ctx.fillStyle = CKSUM_COLOR;
ctx.font = "italic " + INFOS_FONT;
ctx.fillText (colon_cksum, xPosCksum , yPosPubkey);
ctx.restore();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment