From 2801b90007fdba333e1e1722b4768ed2deb479f6 Mon Sep 17 00:00:00 2001 From: aspizu <108279865+aspizu@users.noreply.github.com> Date: Mon, 19 May 2025 20:45:44 +0530 Subject: [PATCH 1/2] docs: add deepwiki badge to enable auto-refresh of AI generated documentation --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 938e11a..cfba980 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # `std` is the goboscript standard library +[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/goboscript/std) + ## Installation Add the following to your `goboscript.toml` file: From c38f59fb303a9444c5291a30ed4b21d2946af103 Mon Sep 17 00:00:00 2001 From: aspizu <108279865+aspizu@users.noreply.github.com> Date: Sun, 25 May 2025 20:13:19 +0530 Subject: [PATCH 2/2] fix: broken macro font calculate width --- font.gs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font.gs b/font.gs index 848e7a6..c04a1da 100644 --- a/font.gs +++ b/font.gs @@ -25,7 +25,7 @@ var font_linelen = 0; %define FONT_CALCULATE_WIDTH_FROM_LENGTH(LENGTH) \ (LENGTH*(FONT_WIDTH+2+font_char_spacing)-(2+font_char_spacing))*font_scale -%define FONT_CALCULATE_WIDTH(TEXT) FONT_CALCULATE_WIDTH_FROM_LENGTH(length($TEXT)) +%define FONT_CALCULATE_WIDTH(TEXT) FONT_CALCULATE_WIDTH_FROM_LENGTH(length(TEXT)) proc font_render_char char { switch_costume $char;