nanoemoji: 0.15.1 -> 0.15.3 (#406052)

This commit is contained in:
Pol Dellaiera
2025-05-15 04:52:45 +00:00
committed by GitHub
2 changed files with 5 additions and 31 deletions
@@ -23,21 +23,19 @@
buildPythonPackage rec {
pname = "nanoemoji";
version = "0.15.1";
version = "0.15.3";
pyproject = true;
src = fetchFromGitHub {
owner = "googlefonts";
repo = "nanoemoji";
tag = "v${version}";
hash = "sha256-P/lT0PnjTdYzyttICzszu4OL5kj+X8GHZ8doL3tpXQM=";
hash = "sha256-/YZKmeLgEQog6A1stXkoN+OrcF/LsgltQ/3BeCCtSqQ=";
};
patches = [
# this is necessary because the tests clear PATH/PYTHONPATH otherwise
./test-pythonpath.patch
# minor difference in the test output, most likely due to different dependency versions
./fix-test.patch
];
build-system = [
@@ -91,11 +89,11 @@ buildPythonPackage rec {
export PATH="$out/bin:$PATH"
'';
meta = with lib; {
meta = {
description = "Wee tool to build color fonts";
homepage = "https://github.com/googlefonts/nanoemoji";
changelog = "https://github.com/googlefonts/nanoemoji/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ _999eagle ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ _999eagle ];
};
}
@@ -1,24 +0,0 @@
--- a/tests/proportional_cbdt.ttx
+++ b/tests/proportional_cbdt.ttx
@@ -13,7 +13,7 @@
<mtx name=".notdef" width="0" lsb="5"/>
<mtx name=".space" width="0" lsb="0"/>
<mtx name="e000" width="110" lsb="0"/>
- <mtx name="e001" width="73" lsb="0"/>
+ <mtx name="e001" width="74" lsb="0"/>
</hmtx>
<cmap>
@@ -79,10 +79,10 @@
<cbdt_bitmap_format_17 name="e001">
<SmallGlyphMetrics>
<height value="128"/>
- <width value="85"/>
+ <width value="86"/>
<BearingX value="0"/>
<BearingY value="104"/>
- <Advance value="85"/>
+ <Advance value="86"/>
</SmallGlyphMetrics>
<extfileimagedata value="e001.png"/>
</cbdt_bitmap_format_17>