From 4f9592107c5592cab100218b3f5262327b9d0ed9 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Tue, 17 Jan 2023 13:57:24 +0100 Subject: [PATCH] download: Fix RFN detection for un-renamed fonts [why] When we do not rename a font that has the RFN flag set we do not list the font as RFN-font. This is for example the case with mononoki since the last commit. [how] Show the source font name not only when it differs but also when it is a RFN. Signed-off-by: Fini Jastrow --- _posts/2017-01-03-downloads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2017-01-03-downloads.md b/_posts/2017-01-03-downloads.md index 0ea7508b1..8b661f3d5 100644 --- a/_posts/2017-01-03-downloads.md +++ b/_posts/2017-01-03-downloads.md @@ -16,7 +16,7 @@ page: font-downloads {% assign upN = font.unpatchedName | split: " " | join: "" %} {% assign pN = font.patchedName | split: " " | join: "" %} - {% if upN != pN %}
• {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name: {{ font.unpatchedName }}
{% endif %} + {% if font.RFN == true or upN != pN %}
• {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name: {{ font.unpatchedName }}
{% endif %}
• Info: {{ font.description }}