Commit 92527a35 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by morgan
Browse files

Bug 41563: Do not copy Noto Color Emoji on Windows.

The file is not compatible with Windows, and the Windows version does
not work as expected either.
parent ef9c7464
Loading
Loading
Loading
Loading
+4 −5
Changes for projects/fonts/build: 4 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -28,11 +28,10 @@ mv noto-fonts-* noto-fonts

[% IF c("var/linux") %]
  unzip "$rootdir/[% c('input_files_by_name/arimo') %]"
  cp Arimo-*/fonts/ttf/*.ttf Cousine-* Tinos-* NotoSans{JP,KR,SC,TC}-Regular.otf $distdir/
[% END %]

[% IF c("var/linux") || c("var/windows") %]
  cp NotoColorEmoji.ttf $distdir/
  cp Arimo-*/fonts/ttf/*.ttf Cousine-* Tinos-* \
    NotoSans{JP,KR,SC,TC}-Regular.otf \
    NotoColorEmoji.ttf \
    $distdir/
[% END %]

cp "$rootdir/[% c('input_files_by_name/Pyidaungsu') %]" $distdir/
+1 −1
Changes for projects/fonts/config: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ input_files:
    enable: '[% c("var/linux") %]'
  - URL: https://github.com/googlefonts/noto-emoji/raw/b3e3051a088047d19fd4d49b1c3ac42fb8c3aaf8/fonts/NotoColorEmoji.ttf
    sha256sum: 3ed77810c203e1a67735dc19d395f32c23f2d7c0c3696690f4f78e15e57ab816
    enable: '[% c("var/linux") || c("var/windows") %]'
    enable: '[% c("var/linux") %]'
  - URL: https://github.com/stipub/stixfonts/raw/v2.13b171/fonts/static_otf/STIXTwoMath-Regular.otf
    sha256sum: 3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c
    name: stix