[tbb-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40615: Add a README for the bundled font directory.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Tue Aug 1 08:47:21 UTC 2023



Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build


Commits:
571d86aa by FlexFoot at 2023-08-01T08:47:20+00:00
Bug 40615: Add a README for the bundled font directory.

Include a README in the final fonts directory to discourage users from
modifying the bundled fonts and to warn them about the consequences
this could have.

- - - - -


3 changed files:

- + projects/fonts/README.txt
- projects/fonts/build
- projects/fonts/config


Changes:

=====================================
projects/fonts/README.txt
=====================================
@@ -0,0 +1,7 @@
+DO NOT MODIFY THE CONTENTS OF THIS DIRECTORY
+
+Any adjustment to bundled fonts will result in an altered fingerprint. Font
+fingerprinting is more than just detecting what fonts you have, it also includes
+font fallbacks and characters (unicode code points) and any change in those can
+be measured.
+


=====================================
projects/fonts/build
=====================================
@@ -32,6 +32,7 @@ mv noto-fonts-* noto-fonts
 [% IF c("var/linux") %]
   cp {NotoSansJP-Regular.otf,NotoSansKR-Regular.otf,NotoSansSC-Regular.otf,NotoSansTC-Regular.otf} $distdir/
 [% END %]
+cp README.txt "$distdir/000_README.txt"
 cd /var/tmp/dist
 [% c('tar', {
         tar_src => [ 'fonts' ],


=====================================
projects/fonts/config
=====================================
@@ -161,6 +161,7 @@ var:
 
 input_files:
   - project: container-image
+  - filename: README.txt
   - filename: 'noto-fonts-[% c("var/noto_git_hash") %]-[% c("version") %]'
     name: noto-fonts
     exec: '[% INCLUDE "fetch-noto-fonts" %]'



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/571d86aaaa4cd90a1d5087f31c22c54fa326851f

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/571d86aaaa4cd90a1d5087f31c22c54fa326851f
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230801/2533a246/attachment-0001.htm>


More information about the tbb-commits mailing list