From 24b7d123c4cf18b53ad528751398e4527803ef16 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Fri, 15 May 2020 07:31:18 +0200 Subject: [PATCH] Use original PL glyphs if available [why] The powerline glyphs (blocks, triangulars) did not match up in hight anymore after the last commit. [how] The reason is not known and not investigated. It could be a glitch in the resizing code (which would have to be fixed, but that is another repository). A more elegant solution is to use the carefully crafted PL glyphs that are already existing in the Microsoft supplied font. So the CascadiaCodePL.ttf is used and we do not patch from scratch. The --careful option ensure that we do not overwrite preexisting glyphs. Signed-off-by: Fini Jastrow --- .github/workflows/generate-fonts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-fonts.yml b/.github/workflows/generate-fonts.yml index 0e4c6cb..136d4d6 100644 --- a/.github/workflows/generate-fonts.yml +++ b/.github/workflows/generate-fonts.yml @@ -15,7 +15,7 @@ jobs: echo Downloading ${CASCADIAVERS} curl -L https://github.com/microsoft/cascadia-code/releases/download/${CASCADIAVERS} -O unzip CascadiaCode*.zip - mv **/CascadiaCode.ttf . + mv **/CascadiaCodePL.ttf . - name: Install FontForge run: | sudo add-apt-repository ppa:fontforge/fontforge -y -u;