From 4184abbed6f903e47f230191b42e58164b7abb7f Mon Sep 17 00:00:00 2001 From: jrobinso Date: Tue, 19 Oct 2021 20:33:14 -0700 Subject: [PATCH] set font family -- requirement for SVG output --- js/feature/interactionTrack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/feature/interactionTrack.js b/js/feature/interactionTrack.js index 0ed758be3..4454df013 100644 --- a/js/feature/interactionTrack.js +++ b/js/feature/interactionTrack.js @@ -353,7 +353,7 @@ class InteractionTrack extends TrackBase { pixelStart--; } const otherChr = feature.chr === feature.chr1 ? feature.chr2 : feature.chr1; - ctx.font = "8px"; + ctx.font = "8px sans-serif"; ctx.textAlign = "center"; if (this.arcOrientation) { // UP