From dc4e6f4e93f3db126c9d9de345b24afe1eb2480e Mon Sep 17 00:00:00 2001 From: "Nikolai V. Chr" Date: Sat, 11 May 2024 21:33:25 +0200 Subject: [PATCH] HUD: HMCS heading tape font change. --- Nasal/HUD/hmd.nas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Nasal/HUD/hmd.nas b/Nasal/HUD/hmd.nas index 4628bae7..cc7e3f3c 100644 --- a/Nasal/HUD/hmd.nas +++ b/Nasal/HUD/hmd.nas @@ -1646,7 +1646,7 @@ var Heading = { me.mark = make_path(me.group).vert(-25); me.text = make_text(me.group) .setAlignment("center-bottom") - .setTranslation(0, 45); + .setTranslation(0, 39); me.text.enableUpdate(); me.long = 1; }, @@ -1771,7 +1771,8 @@ var make_path = func(parent, fill=0) { var make_text = func(parent) { return parent.createChild("text") # Mask the global "stroke" colour, cf. remarks above. - .set("stroke", "none"); + .set("stroke", "none") + .setFont("NotoMono-Regular.ttf"); } var isMarking = 0;