chiark / gitweb /
clock: svg adjustments
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 18 Mar 2021 23:23:56 +0000 (23:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Mar 2021 20:12:41 +0000 (20:12 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/clock.rs

index 70a3259ebda03680e4203d75e351964b766af337..a985a43e78aac20d52982d45d6d080d04142ba04 100644 (file)
@@ -281,8 +281,8 @@ impl PieceTrait for Clock {
       let secs = u.remaining.tv_sec() % 60;
 
       write!(f, r##"
-  <text x="1"  y="{}" font-family="monospace" font-size="6"
-   fill="{}" >{:>3}{}{:02}</text>"##,
+  <text x="1"  y="{}" font-family="Latin Modern Mono, monospace" font-size="6"
+   font-weight="700"f ill="{}" >{:3>}{}{:02}</text>"##,
              y,
              show.text,
              mins,