diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js
index 140abeda7246e90db0e6bfb05b255ad9d9c4b4be..82643aec74b9aef7ce5f02b036ffe5e26d0a5b8f 100644
--- a/pd/nw/pdgui.js
+++ b/pd/nw/pdgui.js
@@ -4198,11 +4198,14 @@ function gui_canvas_redrect_coords(cid, x1, y1, x2, y2) {
 
 // For clarity, this probably shouldn't be a gobj.  Also, it might be easier to
 // make it a div that lives on top of the patchsvg
-function gui_cord_inspector_new(cid) {
+function gui_cord_inspector_new(cid, font_size) {
     var g = get_gobj(cid, "cord_inspector"),
         ci_rect = create_item(cid, "rect", { id: "cord_inspector_rect" }),
         ci_poly = create_item(cid, "polygon", { id: "cord_inspector_polygon" }),
-        ci_text = create_item(cid, "text", { id: "cord_inspector_text" }),
+        ci_text = create_item(cid, "text", {
+            id: "cord_inspector_text",
+            "font-size": pd_fontsize_to_gui_fontsize(font_size) + "px",
+        }),
         text_node = patchwin[cid].window.document.createTextNode("");
     ci_text.appendChild(text_node);
     g.appendChild(ci_rect);
diff --git a/pd/src/g_magicglass.c b/pd/src/g_magicglass.c
index 22b83cdb1cb2c309380ab68062b3a7e8d611d877..f999aef519243dd825cbf29aa6541a02617135be 100644
--- a/pd/src/g_magicglass.c
+++ b/pd/src/g_magicglass.c
@@ -110,8 +110,8 @@ void magicGlass_drawNew(t_magicGlass *x)
 {
     gui_vmess("gui_gobj_new", "xssiii",
         x->x_c, "cord_inspector", "cord_inspector", 0, 0, 0);
-    gui_vmess("gui_cord_inspector_new", "x",
-        x->x_c); 
+    gui_vmess("gui_cord_inspector_new", "xi",
+        x->x_c, x->x_display_font);
     magicGlass_updateText(x, 0);
     clock_delay(x->x_flashClock, MG_CLOCK_FLASH_DELAY);
 }