From 31a7661faaa0e37b3a48948c052d6627f0df1968 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 28 Apr 2024 19:52:12 -0700 Subject: [PATCH] fix broken markdown local links in 2020/endoh2/spoiler/spoiler.md Ran `make gen_other_html` to perform the above. --- 2020/endoh2/spoiler/spoiler.html | 4 ++-- 2020/endoh2/spoiler/spoiler.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2020/endoh2/spoiler/spoiler.html b/2020/endoh2/spoiler/spoiler.html index 1470bb254..ed8e66a91 100644 --- a/2020/endoh2/spoiler/spoiler.html +++ b/2020/endoh2/spoiler/spoiler.html @@ -384,13 +384,13 @@

The source code of the font is glyphs.txt, which is a sequence of chunks that is a ASCII code (65-90) followed by points data: x,y,ctrl.

If ctrl is 1, the point is used as control point for quadratic bezier curve.

-

code.c is the main logic for the program, which has some placeholders +

code.c is the main logic for the program, which has some placeholders for font data and something.

It decompresses the font data and renders a given text by projection. It exploits C99’s double complex type to represent 2D points, but carefully coded so that it does not require any math.h functions; you don’t have to pass -lm to cc.

-

tmpl.txt is a template for the program. gen.rb composes +

tmpl.txt is a template for the program. gen.rb composes the all items and generates prog.c.


Jump to: top

diff --git a/2020/endoh2/spoiler/spoiler.md b/2020/endoh2/spoiler/spoiler.md index b00f9934d..c6f7bec84 100644 --- a/2020/endoh2/spoiler/spoiler.md +++ b/2020/endoh2/spoiler/spoiler.md @@ -7,7 +7,7 @@ chunks that is a ASCII code (65-90) followed by points data: `x,y,ctrl`. If `ctrl` is 1, the point is used as control point for quadratic bezier curve. -[code.c](%%REPO_URL%%/2020/endoh2/code.c) is the main logic for the program, which has some placeholders +[code.c](%%REPO_URL%%/2020/endoh2/spoiler/code.c) is the main logic for the program, which has some placeholders for font data and something. It decompresses the font data and renders a given text by projection. It @@ -15,7 +15,7 @@ exploits `C99`'s `double complex` type to represent 2D points, but carefully coded so that it does not require any `math.h` functions; you don't have to pass `-lm` to `cc`. -[tmpl.txt](tmpl.txt) is a template for the program. [gen.rb](%%REPO_URL%%/2020/endoh2/gen.rb) composes +[tmpl.txt](tmpl.txt) is a template for the program. [gen.rb](%%REPO_URL%%/2020/endoh2/spoiler/gen.rb) composes the all items and generates [prog.c](%%REPO_URL%%/2020/endoh2/prog.c).