canonical / design.ubuntu.com

7 stars 29 forks source link

Ubuntu font package contains superfluous files #189

Open diniciacci opened 3 years ago

diniciacci commented 3 years ago

Summary

The ubuntu font file "ubuntu-font-family-0.83.zip" contains several not useful files that pollute the zip file.

Process

  1. Visit https://design.ubuntu.com/font/
  2. Go at the bottom of the page
  3. Click the download button
  4. Unzip the downloaded file: ubuntu-font-family-0.83.zip

Current and expected result

The file contains the following files:

unzip -t ubuntu-font-family-0.83.zip 
Archive:  ubuntu-font-family-0.83.zip
    testing: ubuntu-font-family-0.83/   OK
    testing: ubuntu-font-family-0.83/copyright.txt   OK
    testing: __MACOSX/                OK
    testing: __MACOSX/ubuntu-font-family-0.83/   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._copyright.txt   OK
    testing: ubuntu-font-family-0.83/LICENCE-FAQ.txt   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._LICENCE-FAQ.txt   OK
    testing: ubuntu-font-family-0.83/Ubuntu-M.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-M.ttf   OK
    testing: ubuntu-font-family-0.83/CONTRIBUTING.txt   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._CONTRIBUTING.txt   OK
    testing: ubuntu-font-family-0.83/FONTLOG.txt   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._FONTLOG.txt   OK
    testing: ubuntu-font-family-0.83/Ubuntu-L.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-L.ttf   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-BI.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._UbuntuMono-BI.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-BI.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-BI.ttf   OK
    testing: ubuntu-font-family-0.83/LICENCE.txt   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._LICENCE.txt   OK
    testing: ubuntu-font-family-0.83/TRADEMARKS.txt   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._TRADEMARKS.txt   OK
    testing: ubuntu-font-family-0.83/Ubuntu-Th.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-Th.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-MI.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-MI.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-R.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-R.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-LI.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-LI.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-B.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-B.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-C.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-C.ttf   OK
    testing: ubuntu-font-family-0.83/README.txt   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._README.txt   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-RI.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._UbuntuMono-RI.ttf   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-R.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._UbuntuMono-R.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-RI.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._Ubuntu-RI.ttf   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-B.ttf   OK
    testing: __MACOSX/ubuntu-font-family-0.83/._UbuntuMono-B.ttf   OK
    testing: __MACOSX/._ubuntu-font-family-0.83   OK
No errors detected in compressed data of ubuntu-font-family-0.83.zip.

This is superfluous and should really contain only:

unzip -t ubuntu-font-family-0.83.zip 
Archive:  ubuntu-font-family-0.83.zip
    testing: ubuntu-font-family-0.83/   OK
    testing: ubuntu-font-family-0.83/copyright.txt   OK
    testing: ubuntu-font-family-0.83/LICENCE-FAQ.txt   OK
    testing: ubuntu-font-family-0.83/Ubuntu-M.ttf   OK
    testing: ubuntu-font-family-0.83/CONTRIBUTING.txt   OK
    testing: ubuntu-font-family-0.83/FONTLOG.txt   OK
    testing: ubuntu-font-family-0.83/Ubuntu-L.ttf   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-BI.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-BI.ttf   OK
    testing: ubuntu-font-family-0.83/LICENCE.txt   OK
    testing: ubuntu-font-family-0.83/TRADEMARKS.txt   OK
    testing: ubuntu-font-family-0.83/Ubuntu-Th.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-MI.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-R.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-LI.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-B.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-C.ttf   OK
    testing: ubuntu-font-family-0.83/README.txt   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-RI.ttf   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-R.ttf   OK
    testing: ubuntu-font-family-0.83/Ubuntu-RI.ttf   OK
    testing: ubuntu-font-family-0.83/UbuntuMono-B.ttf   OK
No errors detected in compressed data of ubuntu-font-family-0.83.zip.
diniciacci commented 3 years ago

Basically a duplicate of #164 for a different file.

sladen commented 3 years ago

(…wonder what else might have been broken/altered in the process?)