[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40893: Update fonts for Tor Browser 13.0.



Title: GitLab

richard pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 16528f1c
    by Pier Angelo Vendrame at 2023-09-21T19:50:32+00:00
    Bug 40893: Update fonts for Tor Browser 13.0.
    

4 changed files:

Changes:

  • projects/fonts/build
    1 1
     #!/bin/bash
    
    2 2
     [% c("var/set_default_env") -%]
    
    3
    -distdir=/var/tmp/dist/fonts
    
    3
    +# This script runs outside containers
    
    4
    +distdir=/var/tmp/$(whoami)/dist/fonts
    
    4 5
     mkdir -p $distdir
    
    5 6
     
    
    6 7
     mv noto-fonts-* noto-fonts
    
    7 8
     
    
    8
    -[% FOREACH fontfile = c("var/noto_fonts_common");
    
    9
    -    GET 'cp noto-fonts/' _ fontfile _ ' $distdir/' _ "\n";
    
    9
    +[% FOREACH family = c("var/noto_fonts_common");
    
    10
    +    GET 'cp noto-fonts/' _ family _ '/*.ttf $distdir/' _ "\n";
    
    10 11
       END; %]
    
    11 12
     
    
    12
    -[% IF c("var/linux") %]
    
    13
    -  [% FOREACH fontfile = c("var/noto_fonts_linux");
    
    14
    -      GET 'cp noto-fonts/' _ fontfile _ ' $distdir/' _ "\n";
    
    15
    -    END; %]
    
    16
    -[% END %]
    
    17
    -[% IF c("var/macos") %]
    
    18
    -  [% FOREACH fontfile = c("var/noto_fonts_mac");
    
    19
    -      GET 'cp noto-fonts/' _ fontfile _ ' $distdir/' _ "\n";
    
    20
    -    END; %]
    
    21
    -[% END %]
    
    22
    -[% IF c("var/windows") %]
    
    23
    -  [% FOREACH fontfile = c("var/noto_fonts_windows");
    
    24
    -      GET 'cp noto-fonts/' _ fontfile _ ' $distdir/' _ "\n";
    
    25
    -    END; %]
    
    26
    -[% END %]
    
    13
    +[% IF c("var/linux");
    
    14
    +     SET font_list = c("var/noto_fonts_linux");
    
    15
    +  ELSIF c("var/macos");
    
    16
    +    SET font_list = c("var/noto_fonts_mac");
    
    17
    +  ELSIF c("var/windows");
    
    18
    +    SET font_list = c("var/noto_fonts_windows");
    
    19
    +  END;
    
    20
    +  FOREACH family = font_list;
    
    21
    +    GET 'cp noto-fonts/' _ family _ '/* $distdir/' _ "\n";
    
    22
    +  END;
    
    23
    +%]
    
    27 24
     
    
    28
    -[% IF c("var/linux") || c("var/macos") %]
    
    29
    -  unzip -o 2.0.0.zip -d STIX
    
    30
    -  cp "STIX/stixfonts-2.0.0/archive/STIXv1.1.1/Fonts/STIX-Word/STIXMath-Regular.otf" $distdir/
    
    25
    +[% IF c("var/have_stix") %]
    
    26
    +  cp "$rootdir/[% c('input_files_by_name/stix') %]" $distdir/
    
    31 27
     [% END %]
    
    28
    +
    
    32 29
     [% IF c("var/linux") %]
    
    33
    -  cp {NotoSansJP-Regular.otf,NotoSansKR-Regular.otf,NotoSansSC-Regular.otf,NotoSansTC-Regular.otf} $distdir/
    
    30
    +  unzip "$rootdir/[% c('input_files_by_name/arimo') %]"
    
    31
    +  cp Arimo-*/fonts/ttf/*.ttf Cousine-* Tinos-* NotoSans{JP,KR,SC,TC}-Regular.otf $distdir/
    
    34 32
     [% END %]
    
    33
    +
    
    35 34
     cp README.txt "$distdir/000_README.txt"
    
    36
    -cd /var/tmp/dist
    
    35
    +cd $distdir/..
    
    37 36
     [% c('tar', {
    
    38 37
             tar_src => [ 'fonts' ],
    
    39 38
             tar_args => '-caf ' _ dest_dir _ '/' _ c('filename'),
    
    40 39
         }) %]
    
    40
    +
    
    41
    +# Additional cleanup since we are outside containers
    
    42
    +rm -rf /var/tmp/$(whoami)

  • projects/fonts/config
    1 1
     # vim: filetype=yaml sw=2
    
    2
    -version: '2'
    
    3
    -filename: "[% project %]-[% c('version') %]-[% c('var/build_id') %].tar.[% c('compress_tar') %]"
    
    2
    +version: '3'
    
    3
    +filename: "[% project %]-[% c('version') %]-[% c('var/platform') %]-[% c('var/build_id') %].tar.[% c('compress_tar') %]"
    
    4 4
     container:
    
    5
    -  use_container: 1
    
    5
    +  # We just copy files around, no need to use a container.
    
    6
    +  use_container: 0
    
    6 7
     var:
    
    7
    -  noto_git_hash: 20bc5918912503bc1537a407a694738c33c048aa
    
    8
    +  # noto-monthly-release-23.9.1
    
    9
    +  noto_git_hash: c890f6fec6fa37740f23fffdd2a28e156f3837a3
    
    8 10
       # Use this way so that the script that downloads the fonts can access the
    
    9 11
       # lists of all the targets.
    
    10 12
       noto_fonts_common:
    
    11
    -    - NotoSansAdlam-Regular.ttf
    
    12
    -    - NotoSansBalinese-Regular.ttf
    
    13
    -    - NotoSansBamum-Regular.ttf
    
    14
    -    - NotoSansBassaVah-Regular.ttf
    
    15
    -    - NotoSansBatak-Regular.ttf
    
    16
    -    - NotoSansBengali-Regular.ttf
    
    17
    -    - NotoSansBuginese-Regular.ttf
    
    18
    -    - NotoSansBuhid-Regular.ttf
    
    19
    -    - NotoSansCanadianAboriginal-Regular.ttf
    
    20
    -    - NotoSansChakma-Regular.ttf
    
    21
    -    - NotoSansCham-Regular.ttf
    
    22
    -    - NotoSansCherokee-Regular.ttf
    
    23
    -    - NotoSansCoptic-Regular.ttf
    
    24
    -    - NotoSansDeseret-Regular.ttf
    
    25
    -    - NotoSansDevanagari-Regular.ttf
    
    26
    -    - NotoSansElbasan-Regular.ttf
    
    27
    -    - NotoSansEthiopic-Regular.ttf
    
    28
    -    - NotoSansGeorgian-Regular.ttf
    
    29
    -    - NotoSansGrantha-Regular.ttf
    
    30
    -    - NotoSansGujarati-Regular.ttf
    
    31
    -    - NotoSansGunjalaGondi-Regular.ttf
    
    32
    -    - NotoSansGurmukhi-Regular.ttf
    
    33
    -    - NotoSansHanifiRohingya-Regular.ttf
    
    34
    -    - NotoSansHanunoo-Regular.ttf
    
    35
    -    - NotoSansKannada-Regular.ttf
    
    36
    -    - NotoSansKhmer-Regular.ttf
    
    37
    -    - NotoSansJavanese-Regular.ttf
    
    38
    -    - NotoSansKayahLi-Regular.ttf
    
    39
    -    - NotoSansKhojki-Regular.ttf
    
    40
    -    - NotoSansKhudawadi-Regular.ttf
    
    41
    -    - NotoSansLao-Regular.ttf
    
    42
    -    - NotoSansLepcha-Regular.ttf
    
    43
    -    - NotoSansLimbu-Regular.ttf
    
    44
    -    - NotoSansLisu-Regular.ttf
    
    45
    -    - NotoSansMahajani-Regular.ttf
    
    46
    -    - NotoSansMalayalam-Regular.ttf
    
    47
    -    - NotoSansMandaic-Regular.ttf
    
    48
    -    - NotoSansMasaramGondi-Regular.ttf
    
    49
    -    - NotoSansMedefaidrin-Regular.ttf
    
    50
    -    - NotoSansMeeteiMayek-Regular.ttf
    
    51
    -    - NotoSansMendeKikakui-Regular.ttf
    
    52
    -    - NotoSansMiao-Regular.ttf
    
    53
    -    - NotoSansModi-Regular.ttf
    
    54
    -    - NotoSansMongolian-Regular.ttf
    
    55
    -    - NotoSansMro-Regular.ttf
    
    56
    -    - NotoSansMyanmar-Regular.ttf
    
    57
    -    - NotoSansMultani-Regular.ttf
    
    58
    -    - NotoSansNewa-Regular.ttf
    
    59
    -    - NotoSansNewTaiLue-Regular.ttf
    
    60
    -    - NotoSansNKo-Regular.ttf
    
    61
    -    - NotoSansOlChiki-Regular.ttf
    
    62
    -    - NotoSansOriya-Regular.ttf
    
    63
    -    - NotoSansOsage-Regular.ttf
    
    64
    -    - NotoSansOsmanya-Regular.ttf
    
    65
    -    - NotoSansPahawhHmong-Regular.ttf
    
    66
    -    - NotoSansPauCinHau-Regular.ttf
    
    67
    -    - NotoSansRejang-Regular.ttf
    
    68
    -    - NotoSansRunic-Regular.ttf
    
    69
    -    - NotoSansSamaritan-Regular.ttf
    
    70
    -    - NotoSansSaurashtra-Regular.ttf
    
    71
    -    - NotoSansSharada-Regular.ttf
    
    72
    -    - NotoSansShavian-Regular.ttf
    
    73
    -    - NotoSansSinhala-Regular.ttf
    
    74
    -    - NotoSansSoraSompeng-Regular.ttf
    
    75
    -    - NotoSansSoyombo-Regular.ttf
    
    76
    -    - NotoSansSundanese-Regular.ttf
    
    77
    -    - NotoSansSylotiNagri-Regular.ttf
    
    78
    -    - NotoSansSymbols2-Regular.ttf
    
    79
    -    - NotoSansSymbols-Regular.ttf
    
    80
    -    - NotoSansSyriac-Regular.ttf
    
    81
    -    - NotoSansTagalog-Regular.ttf
    
    82
    -    - NotoSansTagbanwa-Regular.ttf
    
    83
    -    - NotoSansTaiLe-Regular.ttf
    
    84
    -    - NotoSansTaiTham-Regular.ttf
    
    85
    -    - NotoSansTaiViet-Regular.ttf
    
    86
    -    - NotoSansTakri-Regular.ttf
    
    87
    -    - NotoSansTamil-Regular.ttf
    
    88
    -    - NotoSansTelugu-Regular.ttf
    
    89
    -    - NotoSansThaana-Regular.ttf
    
    90
    -    - NotoSansTifinaghAdrar-Regular.ttf
    
    91
    -    - NotoSansTifinaghAgrawImazighen-Regular.ttf
    
    92
    -    - NotoSansTifinaghAhaggar-Regular.ttf
    
    93
    -    - NotoSansTifinaghAir-Regular.ttf
    
    94
    -    - NotoSansTifinaghAPT-Regular.ttf
    
    95
    -    - NotoSansTifinaghAzawagh-Regular.ttf
    
    96
    -    - NotoSansTifinaghGhat-Regular.ttf
    
    97
    -    - NotoSansTifinaghHawad-Regular.ttf
    
    98
    -    - NotoSansTifinagh-Regular.ttf
    
    99
    -    - NotoSansTifinaghRhissaIxa-Regular.ttf
    
    100
    -    - NotoSansTifinaghSIL-Regular.ttf
    
    101
    -    - NotoSansTifinaghTawellemmet-Regular.ttf
    
    102
    -    - NotoSansTirhuta-Regular.ttf
    
    103
    -    - NotoSansVai-Regular.ttf
    
    104
    -    - NotoSansWancho-Regular.ttf
    
    105
    -    - NotoSansWarangCiti-Regular.ttf
    
    106
    -    - NotoSansYi-Regular.ttf
    
    107
    -    - NotoSansZanabazarSquare-Regular.ttf
    
    108
    -    - NotoSerifBalinese-Regular.ttf
    
    109
    -    - NotoSerifBengali-Regular.ttf
    
    110
    -    - NotoSerifDevanagari-Regular.ttf
    
    111
    -    - NotoSerifDogra-Regular.ttf
    
    112
    -    - NotoSerifEthiopic-Regular.ttf
    
    113
    -    - NotoSerifGeorgian-Regular.ttf
    
    114
    -    - NotoSerifGrantha-Regular.ttf
    
    115
    -    - NotoSerifGujarati-Regular.ttf
    
    116
    -    - NotoSerifGurmukhi-Regular.ttf
    
    117
    -    - NotoSerifKannada-Regular.ttf
    
    118
    -    - NotoSerifKhmer-Regular.ttf
    
    119
    -    - NotoSerifKhojki-Regular.ttf
    
    120
    -    - NotoSerifLao-Regular.ttf
    
    121
    -    - NotoSerifMalayalam-Regular.ttf
    
    122
    -    - NotoSerifMyanmar-Regular.ttf
    
    123
    -    - NotoSerifNyiakengPuachueHmong-Regular.ttf
    
    124
    -    - NotoSerifSinhala-Regular.ttf
    
    125
    -    - NotoSerifTamil-Regular.ttf
    
    126
    -    - NotoSerifTelugu-Regular.ttf
    
    127
    -    - NotoSerifTibetan-Regular.ttf
    
    128
    -    - NotoSerifYezidi-Regular.ttf
    
    13
    +    - NotoSansAdlam
    
    14
    +    - NotoSansBalinese
    
    15
    +    - NotoSansBamum
    
    16
    +    - NotoSansBassaVah
    
    17
    +    - NotoSansBatak
    
    18
    +    - NotoSansBengali
    
    19
    +    - NotoSansBuginese
    
    20
    +    - NotoSansBuhid
    
    21
    +    - NotoSansCanadianAboriginal
    
    22
    +    - NotoSansChakma
    
    23
    +    - NotoSansCham
    
    24
    +    - NotoSansCherokee
    
    25
    +    - NotoSansCoptic
    
    26
    +    - NotoSansDeseret
    
    27
    +    - NotoSansDevanagari
    
    28
    +    - NotoSansElbasan
    
    29
    +    - NotoSansEthiopic
    
    30
    +    - NotoSansGeorgian
    
    31
    +    - NotoSansGrantha
    
    32
    +    - NotoSansGujarati
    
    33
    +    - NotoSansGunjalaGondi
    
    34
    +    - NotoSansGurmukhi
    
    35
    +    - NotoSansHanifiRohingya
    
    36
    +    - NotoSansHanunoo
    
    37
    +    - NotoSansKannada
    
    38
    +    - NotoSansKhmer
    
    39
    +    - NotoSansJavanese
    
    40
    +    - NotoSansKayahLi
    
    41
    +    - NotoSansKhojki
    
    42
    +    - NotoSansKhudawadi
    
    43
    +    - NotoSansLao
    
    44
    +    - NotoSansLepcha
    
    45
    +    - NotoSansLimbu
    
    46
    +    - NotoSansLisu
    
    47
    +    - NotoSansMahajani
    
    48
    +    - NotoSansMalayalam
    
    49
    +    - NotoSansMandaic
    
    50
    +    - NotoSansMasaramGondi
    
    51
    +    - NotoSansMedefaidrin
    
    52
    +    - NotoSansMeeteiMayek
    
    53
    +    - NotoSansMendeKikakui
    
    54
    +    - NotoSansMiao
    
    55
    +    - NotoSansModi
    
    56
    +    - NotoSansMongolian
    
    57
    +    - NotoSansMro
    
    58
    +    - NotoSansMyanmar
    
    59
    +    - NotoSansMultani
    
    60
    +    - NotoSansNewa
    
    61
    +    - NotoSansNewTaiLue
    
    62
    +    - NotoSansNKo
    
    63
    +    - NotoSansOlChiki
    
    64
    +    - NotoSansOriya
    
    65
    +    - NotoSansOsage
    
    66
    +    - NotoSansOsmanya
    
    67
    +    - NotoSansPahawhHmong
    
    68
    +    - NotoSansPauCinHau
    
    69
    +    - NotoSansRejang
    
    70
    +    - NotoSansRunic
    
    71
    +    - NotoSansSamaritan
    
    72
    +    - NotoSansSaurashtra
    
    73
    +    - NotoSansSharada
    
    74
    +    - NotoSansShavian
    
    75
    +    - NotoSansSinhala
    
    76
    +    - NotoSansSoraSompeng
    
    77
    +    - NotoSansSoyombo
    
    78
    +    - NotoSansSundanese
    
    79
    +    - NotoSansSylotiNagri
    
    80
    +    - NotoSansSymbols2
    
    81
    +    - NotoSansSymbols
    
    82
    +    - NotoSansSyriac
    
    83
    +    - NotoSansTagalog
    
    84
    +    - NotoSansTagbanwa
    
    85
    +    - NotoSansTaiLe
    
    86
    +    - NotoSansTaiTham
    
    87
    +    - NotoSansTaiViet
    
    88
    +    - NotoSansTakri
    
    89
    +    - NotoSansTamil
    
    90
    +    - NotoSansTelugu
    
    91
    +    - NotoSansThaana
    
    92
    +    - NotoSansTifinagh
    
    93
    +    - NotoSansTirhuta
    
    94
    +    - NotoSansVai
    
    95
    +    - NotoSansWancho
    
    96
    +    - NotoSansWarangCiti
    
    97
    +    - NotoSansYi
    
    98
    +    - NotoSansZanabazarSquare
    
    99
    +    - NotoSerifBalinese
    
    100
    +    - NotoSerifBengali
    
    101
    +    - NotoSerifDevanagari
    
    102
    +    - NotoSerifDogra
    
    103
    +    - NotoSerifEthiopic
    
    104
    +    - NotoSerifGeorgian
    
    105
    +    - NotoSerifGrantha
    
    106
    +    - NotoSerifGujarati
    
    107
    +    - NotoSerifGurmukhi
    
    108
    +    - NotoSerifKannada
    
    109
    +    - NotoSerifKhmer
    
    110
    +    - NotoSerifKhojki
    
    111
    +    - NotoSerifLao
    
    112
    +    - NotoSerifMalayalam
    
    113
    +    - NotoSerifMyanmar
    
    114
    +    - NotoSerifNPHmong
    
    115
    +    - NotoSerifSinhala
    
    116
    +    - NotoSerifTamil
    
    117
    +    - NotoSerifTelugu
    
    118
    +    - NotoSerifTibetan
    
    119
    +    - NotoSerifYezidi
    
    129 120
     
    
    130 121
       noto_fonts_linux:
    
    131
    -    - Arimo-Regular.ttf
    
    132
    -    - Arimo-Bold.ttf
    
    133
    -    - Arimo-Italic.ttf
    
    134
    -    - Arimo-BoldItalic.ttf
    
    135
    -    - Cousine-Regular.ttf
    
    136
    -    - Tinos-Regular.ttf
    
    137
    -    - Tinos-Bold.ttf
    
    138
    -    - Tinos-Italic.ttf
    
    139
    -    - Tinos-BoldItalic.ttf
    
    140
    -    - NotoNaskhArabic-Regular.ttf
    
    141
    -    - NotoSansArmenian-Regular.ttf
    
    142
    -    - NotoSansHebrew-Regular.ttf
    
    143
    -    - NotoSansSymbols-Regular.ttf
    
    144
    -    - NotoSansSymbols2-Regular.ttf
    
    145
    -    - NotoSansThaana-Regular.ttf
    
    146
    -    - NotoSansThai-Regular.ttf
    
    147
    -    - NotoSerifArmenian-Regular.ttf
    
    148
    -    - NotoSerifHebrew-Regular.ttf
    
    149
    -    - NotoSerifThai-Regular.ttf
    
    122
    +    - NotoNaskhArabic
    
    123
    +    - NotoSansArmenian
    
    124
    +    - NotoSansHebrew
    
    125
    +    - NotoSansSymbols
    
    126
    +    - NotoSansSymbols2
    
    127
    +    - NotoSansThaana
    
    128
    +    - NotoSansThai
    
    129
    +    - NotoSerifArmenian
    
    130
    +    - NotoSerifHebrew
    
    131
    +    - NotoSerifThai
    
    150 132
       noto_fonts_mac:
    
    151
    -    - NotoSansArmenian-Regular.ttf
    
    152
    -    - NotoSansHebrew-Regular.ttf
    
    153
    -    - NotoSansThaana-Regular.ttf
    
    154
    -    - NotoSerifArmenian-Regular.ttf
    
    155
    -    - NotoSerifHebrew-Regular.ttf
    
    133
    +    - NotoSansArmenian
    
    134
    +    - NotoSansHebrew
    
    135
    +    - NotoSansThaana
    
    136
    +    - NotoSerifArmenian
    
    137
    +    - NotoSerifHebrew
    
    156 138
     
    
    157 139
       noto_fonts_windows:
    
    158
    -    - NotoNaskhArabic-Regular.ttf
    
    159
    -    - NotoSans-Regular.ttf
    
    160
    -    - NotoSerif-Regular.ttf
    
    140
    +    - NotoNaskhArabic
    
    141
    +    - NotoSans
    
    142
    +    - NotoSerif
    
    143
    +
    
    144
    +  have_stix: '[% c("var/linux") || c("var/macos") %]'
    
    161 145
     
    
    162 146
     input_files:
    
    163
    -  - project: container-image
    
    164 147
       - filename: README.txt
    
    165 148
       - filename: 'noto-fonts-[% c("var/noto_git_hash") %]-[% c("version") %]'
    
    166 149
         name: noto-fonts
    
    167 150
         exec: '[% INCLUDE "fetch-noto-fonts" %]'
    
    151
    +  - URL: https://github.com/googlefonts/Arimo/archive/302dc85954f887248b4ad442b0966e4ead1c1cf9.zip
    
    152
    +    sha256sum: 1d06a61c69ab8a7edd6e2b79e38dcb3c5b572033f12de5cde5c3ea7caded2717
    
    153
    +    name: arimo
    
    154
    +    enable: '[% c("var/linux") %]'
    
    155
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Cousine/Cousine-Bold.ttf
    
    156
    +    sha256sum: 1f224341677c5ceaa717417d1cb94efbdb276801b3ab1ccea697eb3a8057b6ac
    
    157
    +    enable: '[% c("var/linux") %]'
    
    158
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Cousine/Cousine-BoldItalic.ttf
    
    159
    +    sha256sum: 82755a6d4b12067daabf89eb5bf48d52b9fea4073a59792d331651510a901728
    
    160
    +    enable: '[% c("var/linux") %]'
    
    161
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Cousine/Cousine-Italic.ttf
    
    162
    +    sha256sum: 64e8ed603232b28eceebe0d18838a5e62297605203b33720d775ed628cdc222b
    
    163
    +    enable: '[% c("var/linux") %]'
    
    164
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Cousine/Cousine-Regular.ttf
    
    165
    +    sha256sum: 829e776e4929eb6467838b92c7b700085fac2073801e6b54b224661affb34688
    
    166
    +    enable: '[% c("var/linux") %]'
    
    167
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Tinos/Tinos-Bold.ttf
    
    168
    +    sha256sum: 971d6af5fcb3a0c05535a92a635fb63a86ea5eb935639c9b864be33f3bfaba80
    
    169
    +    enable: '[% c("var/linux") %]'
    
    170
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Tinos/Tinos-BoldItalic.ttf
    
    171
    +    sha256sum: 0cd67b90617a03a69a815e758d0649d00f2be48a0cb570615e94e8e5a13aae2e
    
    172
    +    enable: '[% c("var/linux") %]'
    
    173
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Tinos/Tinos-Italic.ttf
    
    174
    +    sha256sum: 0f949a3fa0e23cd0ca94a0c4784bd8f9efb99c20070b9f73b5fd592b49c092ad
    
    175
    +    enable: '[% c("var/linux") %]'
    
    176
    +  - URL: https://github.com/notofonts/noto-fonts/raw/71d0a9e78ae4257499cabd4a8ad3e5e976c5c352/hinted/ttf/Tinos/Tinos-Regular.ttf
    
    177
    +    sha256sum: cf264a22292950ca1679b2ade07e9e6ecb26c649ab70975d0e113f979efa827a
    
    178
    +    enable: '[% c("var/linux") %]'
    
    168 179
       # Noto Sans CJK Version 2.004
    
    169 180
       - URL: https://github.com/googlefonts/noto-cjk/raw/523d033d6cb47f4a80c58a35753646f5c3608a78/Sans/SubsetOTF/JP/NotoSansJP-Regular.otf
    
    170 181
         sha256sum: dff723ba59d57d136764a04b9b2d03205544f7cd785a711442d6d2d085ac5073
    
    ... ... @@ -178,6 +189,7 @@ input_files:
    178 189
       - URL: https://github.com/googlefonts/noto-cjk/raw/523d033d6cb47f4a80c58a35753646f5c3608a78/Sans/SubsetOTF/TC/NotoSansTC-Regular.otf
    
    179 190
         sha256sum: 5bab0cb3c1cf89dde07c4a95a4054b195afbcfe784d69d75c340780712237537
    
    180 191
         enable: '[% c("var/linux") %]'
    
    181
    -  - URL: https://github.com/stipub/stixfonts/archive/2.0.0.zip
    
    182
    -    sha256sum: 4327a16797dabebedce28a9075671730e22c7f74831b24b1fb91e27faec5a235
    
    183
    -    enable: '[% c("var/linux") || c("var/macos") %]'
    192
    +  - URL: https://github.com/stipub/stixfonts/raw/v2.13b171/fonts/static_otf/STIXTwoMath-Regular.otf
    
    193
    +    sha256sum: 3a5f3f26f40d5698b3c62dd085d48d6663696a3f80825aab8b553d5097518e8c
    
    194
    +    name: stix
    
    195
    +    enable: '[% c("var/have_stix") %]'

  • projects/fonts/fetch-noto-fonts
    ... ... @@ -6,7 +6,7 @@ OUT_DIR="[% dest_dir %]/noto-fonts-[% c("var/noto_git_hash") %]-[% c("version")
    6 6
     
    
    7 7
     pushd "$REPO_DIR"
    
    8 8
     git init
    
    9
    -git remote add origin https://github.com/googlefonts/noto-fonts.git
    
    9
    +git remote add origin https://github.com/notofonts/notofonts.github.io.git
    
    10 10
     git fetch --depth 1 origin "[% c('var/noto_git_hash') %]"
    
    11 11
     git checkout "[% c('var/noto_git_hash') %]"
    
    12 12
     
    
    ... ... @@ -15,11 +15,16 @@ mkdir "$OUT_DIR"
    15 15
     [%
    
    16 16
       platforms = [c("var/noto_fonts_common"), c("var/noto_fonts_linux"), c("var/noto_fonts_mac"), c("var/noto_fonts_windows")];
    
    17 17
       FOREACH platform = platforms;
    
    18
    -    FOREACH fontfile = platform;
    
    19
    -      GET 'font=$(find hinted -name ' _ fontfile _ ' -print | head -1)' _ "\n";
    
    20
    -      # Do not use find -exec, because if the file does not exist, we have an
    
    21
    -      # error only in the following phases. In this way, we try to fail earlier.
    
    22
    -      GET 'cp -u $font "$OUT_DIR/"' _ "\n";
    
    18
    +    FOREACH family = platform;
    
    19
    +%]
    
    20
    +  font_src="fonts/[% family %]/hinted/ttf"
    
    21
    +  font_dst="$OUT_DIR/[% family %]"
    
    22
    +  mkdir -p $font_dst
    
    23
    +  # Use the wildcard for cases such as NotoSansTifinagh.
    
    24
    +  # But then to avoid NotoSans* matching everything on Windows, we create a
    
    25
    +  # directory for each family.
    
    26
    +  find $font_src -name '*-Regular.ttf' -and -not -name '*UI-Regular.ttf' -exec cp {} $font_dst/ \;
    
    27
    +[%
    
    23 28
         END;
    
    24 29
       END; %]
    
    25 30
     
    

  • rbm.conf
    ... ... @@ -396,6 +396,7 @@ targets:
    396 396
             merge_aars: 1
    
    397 397
         var:
    
    398 398
           android: 1
    
    399
    +      platform: android
    
    399 400
           compiler: android-toolchain
    
    400 401
           android_min_api: '[% GET c("var/android_min_api_" _ c("arch")) %]'
    
    401 402
           CC: '[% c("var/cross_prefix") %][% c("var/android_min_api") %]-clang'
    
    ... ... @@ -503,6 +504,7 @@ targets:
    503 504
         compress_tar: gz
    
    504 505
         var:
    
    505 506
           linux: 1
    
    507
    +      platform: linux
    
    506 508
           compiler: gcc
    
    507 509
           configure_opt: '[% c("var/configure_opt_project") %]'
    
    508 510
           # Only build Namecoin for linux on nightly
    
    ... ... @@ -574,6 +576,7 @@ targets:
    574 576
       windows:
    
    575 577
         var:
    
    576 578
           windows: 1
    
    579
    +      platform: windows
    
    577 580
           container:
    
    578 581
             suite: bullseye
    
    579 582
             arch: amd64
    
    ... ... @@ -655,6 +658,7 @@ targets:
    655 658
       macos:
    
    656 659
         var:
    
    657 660
           macos: 1
    
    661
    +      platform: macos
    
    658 662
           osname: macos
    
    659 663
           container:
    
    660 664
             suite: bullseye
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits