uharfbuzz icon indicating copy to clipboard operation
uharfbuzz copied to clipboard

Font licenses for test font files

Open bkmgit opened this issue 10 months ago • 3 comments

SparseFont, noto_handwriting and test_glyphs do not have any license information. Is it possible to add this or create font files which test the appropriate features but have licenses?

bkmgit avatar Mar 15 '25 06:03 bkmgit

As previously noted in https://github.com/harfbuzz/uharfbuzz/pull/226#issuecomment-2566561643, I see that:

  • tests/data/SparseFont.ttf was introduced in https://github.com/harfbuzz/uharfbuzz/pull/84, without obvious provenance
  • tests/data/noto_handwriting-cff2_colr_1.otf and tests/data/test_glyphs-glyf_colr_1.ttf were introduced in https://github.com/harfbuzz/uharfbuzz/commit/5a80c3eaeea58d36b15a76dba45639294e0200ce, taken from Harfbuzz where they were introduced in https://github.com/harfbuzz/harfbuzz/commit/30a6fd04d00624129b13b20fb755d6c1c4982637, but their ultimate provenance is unclear (to me)

musicinmybrain avatar Mar 16 '25 00:03 musicinmybrain

  • tests/data/noto_handwriting-cff2_colr_1.otf and tests/data/test_glyphs-glyf_colr_1.ttf were introduced in 5a80c3e, taken from Harfbuzz where they were introduced in harfbuzz/harfbuzz@30a6fd0, but their ultimate provenance is unclear (to me)

Those are from here:

https://github.com/googlefonts/color-fonts/

behdad avatar Mar 16 '25 00:03 behdad

  • tests/data/noto_handwriting-cff2_colr_1.otf and tests/data/test_glyphs-glyf_colr_1.ttf were introduced in 5a80c3e, taken from Harfbuzz where they were introduced in harfbuzz/harfbuzz@30a6fd0, but their ultimate provenance is unclear (to me)

Those are from here:

https://github.com/googlefonts/color-fonts/

Thanks! So it looks like those would be Apache-2.0, https://github.com/googlefonts/color-fonts/blob/main/LICENSE. They’re built by https://github.com/googlefonts/color-fonts/blob/main/build.py according to configurations https://github.com/googlefonts/color-fonts/blob/main/config/noto-cff_colr_1.toml and https://github.com/googlefonts/color-fonts/blob/main/config/noto-glyf_colr_1.toml, respectively, based on SVG sources in https://github.com/googlefonts/noto-emoji/tree/b960563a023fbd1337227bf2a8a2d5a91889a333, which also carries an Apache-2.0 license https://github.com/googlefonts/noto-emoji/blob/b960563a023fbd1337227bf2a8a2d5a91889a333/LICENSE. Some are from https://github.com/googlefonts/noto-emoji/tree/b960563a023fbd1337227bf2a8a2d5a91889a333/third_party/region-flags, which has https://github.com/googlefonts/noto-emoji/blob/b960563a023fbd1337227bf2a8a2d5a91889a333/third_party/region-flags/LICENSE – so technically the flags may be under some kind of public domain dedication rather than Apache-2.0, if one wants to be extremely precise.

musicinmybrain avatar Mar 16 '25 00:03 musicinmybrain