diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5fde417..d8612b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,6 +36,6 @@ jobs: mv build CozetteFonts; cp ./LICENSE CozetteFonts/LICENSE; zip -r CozetteFonts-${{ steps.version.outputs.version }}.zip CozetteFonts - uses: ncipollo/release-action@v1 with: - artifacts: "CozetteFonts.zip,CozetteFonts/*" + artifacts: "CozetteFonts-${{ steps.version.outputs.version }}.zip,CozetteFonts/*" token: ${{ secrets.GITHUB_TOKEN }} body: "See [CHANGELOG.md](https://github.com/slavfox/Cozette/blob/master/CHANGELOG.md)" diff --git a/CHANGELOG.md b/CHANGELOG.md index f77d006..e507feb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning]. +## [1.19.3] + +### Changed + +- Fixed [#52](https://github.com/slavfox/Cozette/issues/52) strikethrough + rendering bug + ## [1.19.2-hidpi2] ### Changed @@ -2105,7 +2112,8 @@ Still broken on Windows. [keep a changelog]: https://keepachangelog.com/en/1.0.0/ [semantic versioning]: https://semver.org/spec/v2.0.0.html -[unreleased]: https://github.com/slavfox/Cozette/compare/v.1.19.2-hidpi2...HEAD +[unreleased]: https://github.com/slavfox/Cozette/compare/v.1.19.3...HEAD +[1.19.3]: https://github.com/slavfox/Cozette/compare/v.1.19.2-hidpi2...v.1.19.3 [1.19.2-hidpi2]: https://github.com/slavfox/Cozette/compare/v.1.19.2-hidpi...v.1.19.2-hidpi2 [1.19.2-hidpi]: https://github.com/slavfox/Cozette/compare/v.1.19.2...v.1.19.2-hidpi [1.19.2]: https://github.com/slavfox/Cozette/compare/v.1.19.1...v.1.19.2 diff --git a/Cozette/Cozette.sfd b/Cozette/Cozette.sfd index 63c8ab8..d9376bf 100644 --- a/Cozette/Cozette.sfd +++ b/Cozette/Cozette.sfd @@ -4,7 +4,7 @@ FullName: Cozette FamilyName: Cozette Weight: Medium Copyright: (c) 2020-2023 Slavfox -Version: 1.192 +Version: 1.193 ItalicAngle: 0 UnderlinePosition: -100 UnderlineWidth: 50 @@ -22,7 +22,7 @@ OS2Version: 1 OS2_WeightWidthSlopeOnly: 0 OS2_UseTypoMetrics: 0 CreationTime: -2082812035 -ModificationTime: 1681709828 +ModificationTime: 1686582984 PfmFamily: 49 TTFWeight: 500 TTFWidth: 5 @@ -114,14 +114,13 @@ MATH:RadicalKernAfterDegree: -1137 MATH:RadicalDegreeBottomRaisePercent: 60 MATH:MinConnectorOverlap: 40 Encoding: UnicodeFull -Compacted: 1 UnicodeInterp: none NameList: AGL with PUA DisplaySize: 13 AntiAlias: 1 FitToEm: 0 WidthSeparation: 307 -WinInfo: 1992 24 9 +WinInfo: 62496 24 9 BeginPrivate: 0 EndPrivate TeXData: 1 0 0 524288 262144 174762 0 -1048576 174762 783286 444596 497025 792723 393216 433062 380633 303038 157286 324010 404750 52429 2506097 1059062 262144 @@ -26392,7 +26391,7 @@ FONTNAME_REGISTRY 16 "" FONT_NAME 16 "Cozette" FACE_NAME 16 "Cozette" COPYRIGHT 16 "(c) 2020-2023 Slavfox" -FONT_VERSION 16 "1.192" +FONT_VERSION 16 "1.193" FONT_ASCENT 18 10 FONT_DESCENT 18 3 UNDERLINE_POSITION 18 -19 diff --git a/build.py b/build.py index 01c2360..57c7fe3 100644 --- a/build.py +++ b/build.py @@ -79,6 +79,12 @@ def gen_bitmap_formats() -> Path: open=REPO_ROOT / "Cozette" / "Cozette.sfd", generate=[ Generate("cozette.", bitmap_fmt="bdf"), + ], + ) + bdf_path = rename_single(BUILD_DIR, "*.bdf", "cozette.bdf") + fontforge( + open=bdf_path, + generate=[ Generate("cozette.", "otb"), Generate("cozette.", "psf"), Generate("cozette.", "fnt"), @@ -86,7 +92,7 @@ def gen_bitmap_formats() -> Path: ], ) rename_single(BUILD_DIR, "*.fnt", "cozette.fnt") - return rename_single(BUILD_DIR, "*.bdf", "cozette.bdf") + return bdf_path def fix_ttf(ttfpath: Path, name: str): @@ -168,10 +174,10 @@ def gen_variants(bdf_path: Path): check=True, ) subprocess.run( - bnp_invoc_ttf("CozetteVector", "ttf") + [SFDPATH], check=True + bnp_invoc_ttf("CozetteVector", "ttf") + [bdf_path], check=True ) subprocess.run( - bnp_invoc_ttf("CozetteVectorBold", "ttf") + ["-b", SFDPATH], + bnp_invoc_ttf("CozetteVectorBold", "ttf") + ["-b", bdf_path], check=True, ) print(crayons.yellow("Fixing TTF variants..."))