From 702f947109bbe37aa7f0d0a549d05fd88fc90ca9 Mon Sep 17 00:00:00 2001
From: amelinand <a.melinand@it-students.fr>
Date: Fri, 25 Jun 2021 09:34:59 +0200
Subject: [PATCH] write cksum in italic.

---
 index.html | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/index.html b/index.html
index 85aa13d..82b0a8e 100644
--- a/index.html
+++ b/index.html
@@ -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();
           }
-- 
GitLab