From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drNk1-0005Fr-C4 for guix-patches@gnu.org; Mon, 11 Sep 2017 08:23:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drNjy-0001Jq-53 for guix-patches@gnu.org; Mon, 11 Sep 2017 08:23:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drNjx-0001Io-UZ for guix-patches@gnu.org; Mon, 11 Sep 2017 08:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drNjx-0001fE-LX for guix-patches@gnu.org; Mon, 11 Sep 2017 08:23:01 -0400 Subject: [bug#28404] The complete Google Noto Fonts Resent-Message-ID: Date: Mon, 11 Sep 2017 12:21:41 +0000 From: ng0 Message-ID: <20170911122141.ussczl6u3g2jq5xo@abyayala> References: <20170910090628.mltsqkaepyh3xncd@abyayala> <87shftbpx1.fsf@gnu.org> <20170911105704.dfd7kcijb2ncjbdu@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2zwqbpn4zjqajk3z" Content-Disposition: inline In-Reply-To: <20170911105704.dfd7kcijb2ncjbdu@abyayala> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28404@debbugs.gnu.org --2zwqbpn4zjqajk3z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ng0 transcribed 4.2K bytes: > Ludovic Court=C3=A8s transcribed 1.2K bytes: > > Hi ng0, > >=20 > > ng0 skribis: > >=20 > > > These patches add all of Google Noto font. > > > > > > Be aware that you will need at least 600 MB for the source tarballs. > > > There are only 5 real big tarballs, the rest is small. > > > > > > You will have 86 or 87 patches, so if you want to test it in another > > > way try adding my guix developer repository at > > > https://gitweb.krosos.org/ng0_guix/guix if I fixed it > > > (otherwise git://git.krosos.org/srv/git/ng0/ng0_guix/guix works). > >=20 > > Woow, impressive piece of work! >=20 > Thanks. >=20 > > > The only things which really are unique are: > > > filenames + name + variable name + hash > >=20 > > To me, that clearly suggests that we need a function to produce the > > package, like: > >=20 > > (define (google-noto-font-package name hash) > > (package > > (name (string-append "font-google-" (camel-case->hyphens name))) > > =E2=80=A6)) > >=20 > > Could you look into that? >=20 > I thought about this while I worked on it, but I was running out of > free time. I'll see if I can resolve this. I'll get back to this thread > with questions or results. >=20 > > > As Google (and 99% of all fonts out there) update in place, > > > I have a versioned inofficial mirror directory in case we > > > should ever want to use it. > >=20 > > That=E2=80=99s a bummer. Are you sure there=E2=80=99s no versioned URL= somewhere? >=20 > I'm absolutely sure that there is no official download link with versions. > This problem is a basic condition in the font distribution, you have met > a happy exception if you have some kind of version in the name of the > distributed archive file and even more so when you have no file updating > in place. > If we find no other solution, my server is located in Germany, has enough > diskspace (fonts aren't that big) and I have fair-use uncapped bandwidth > (if I hit some kind of TBs/month limit, monthly fee will be adjusted. > same network, different server: 40+ TB tor node was okay). > I would not be happy with this, but I'd do it. Google should provide vers= ions > but try to get Google to do anything which is not giving up on projects > in ramdon patterns=E2=80=A6 :/ People and projects already fail with Chro= mium requests, > no idea if I can convince them to version the fonts. It's not like they > don't have the diskspace. >=20 > > Alternatively, could we build from source with FontForge or something? >=20 > Well they are build from source, and the source is on github. > for cjk: https://github.com/googlei18n/noto-cjk > not cjk: https://github.com/googlei18n/noto-fonts > emoji: https://github.com/googlei18n/noto-emoji > and they seem to use noto-tools for building, but I haven't looked > into the build process at all. I have to wait for another reply, so I started some notes on the lines abov= e. Emoji: can be build with "make" given the condition that nototools (https://github.com/googlei18n/nototools/) is available. This in turn depends on (python): booleanOperations=3D=3D0.7.0 defcon=3D=3D0.3.1 fonttools=3D=3D= 3.9.1 Pillow=3D=3D4.0.0 pyclipper=3D=3D1.0.6 ufoLib=3D=3D2.0= =2E0 emoji repo checked out with the whole history: 249 MB emjo tagged tar: 33.5MB cjk repo, latest tagged release (1st semester of 2017): 1.6 GB cjk repo checked out with the whole history: 3.4 GB rest of noto, repo: 1.0 GB rest of noto, tagged tar: 351 MB The distributed fonts, pre-build: root@sharknado9000:/var/www/krosos/mirror/fonts/noto-font/20170403# ls -hs total 600M 8.0K Noto.20170403.sha256.txt 260K NotoSansKannada-hinte= d.zip 4.5M NotoColorEmoji-unhinted.zip 8.0K NotoSansKayahLi-unhin= ted.zip 288K NotoEmoji-unhinted.zip 16K NotoSansKharoshthi-un= hinted.zip 84K NotoKufiArabic-hinted.zip 96K NotoSansKhmer-hinted.z= ip 72K NotoMono-hinted.zip 76K NotoSansLao-hinted.zip 464K NotoNaskhArabic-hinted.zip 40K NotoSansLepcha-unhint= ed.zip 164K NotoNastaliqUrdu-unhinted.zip 12K NotoSansLimbu-unhinte= d.zip 32K NotoSansArmenian-hinted.zip 40K NotoSansLinearB-unhint= ed.zip 12K NotoSansAvestan-unhinted.zip 8.0K NotoSansLisu-unhinted.= zip 20K NotoSansBalinese-unhinted.zip 8.0K NotoSansLycian-unhinte= d.zip 96K NotoSansBamum-unhinted.zip 200K NotoSansMalayalam-hint= ed.zip 12K NotoSansBatak-unhinted.zip 16K NotoSansMeeteiMayek-un= hinted.zip 400K NotoSansBengali-hinted.zip 340K NotoSansMyanmar-hinte= d.zip 16K NotoSansBrahmi-unhinted.zip 12K NotoSansNKo-unhinted.z= ip 8.0K NotoSansBuginese-unhinted.zip 8.0K NotoSansOgham-unhinte= d.zip 8.0K NotoSansBuhid-unhinted.zip 8.0K NotoSansOlChiki-unhin= ted.zip 28K NotoSansCanadianAboriginal-unhinted.zip 8.0K NotoSansOldItalic-unhi= nted.zip 8.0K NotoSansCarian-unhinted.zip 8.0K NotoSansOldTurkic-unh= inted.zip 32K NotoSansCham-hinted.zip 328K NotoSansOriya-hinted.z= ip 48K NotoSansCherokee-hinted.zip 8.0K NotoSansOsmanya-unhint= ed.zip 116M NotoSansCJKjp-hinted.zip 8.0K NotoSansRejang-unhint= ed.zip 116M NotoSansCJKkr-hinted.zip 8.0K NotoSansRunic-unhinte= d.zip 116M NotoSansCJKsc-hinted.zip 12K NotoSansSamaritan-unh= inted.zip 116M NotoSansCJKtc-hinted.zip 8.0K NotoSansShavian-unhin= ted.zip 20K NotoSansCoptic-unhinted.zip 12K NotoSansSundanese-unhi= nted.zip 276K NotoSansCuneiform-unhinted.zip 16K NotoSansSylotiNagri-u= nhinted.zip 8.0K NotoSansCypriot-unhinted.zip 404K NotoSansSymbols-unhin= ted.zip 12K NotoSansDeseret-unhinted.zip 28K NotoSansSyriacEastern-= unhinted.zip 356K NotoSansDevanagari-hinted.zip 28K NotoSansSyriacEstrang= ela-unhinted.zip 296K NotoSansEgyptianHieroglyphs-unhinted.zip 28K NotoSansSyriacWestern= -unhinted.zip 172K NotoSansEthiopic-hinted.zip 32K NotoSansTaiTham-unhin= ted.zip 44K NotoSansGeorgian-hinted.zip 32K NotoSansThaana-hinted.= zip 12K NotoSansGlagolitic-unhinted.zip 8.0K NotoSansUgaritic-unhin= ted.zip 8.0K NotoSansGothic-unhinted.zip 200K NotoSerifBengali-hint= ed.zip 344K NotoSansGujarati-hinted.zip 125M NotoSerifCJKtc-hinted= =2Ezip 128K NotoSansGurmukhi-hinted.zip 128K NotoSerifDevanagari-h= inted.zip 8.0K NotoSansHanunoo-unhinted.zip 44K NotoSerifGeorgian-hin= ted.zip 28K NotoSansHebrew-hinted.zip 100K NotoSerifGujarati-hint= ed.zip 1.3M NotoSans-hinted.zip 840K NotoSerif-hinted.zip 8.0K NotoSansImperialAramaic-unhinted.zip 40K NotoSerifLao-hinted.z= ip 8.0K NotoSansInscriptionalPahlavi-unhinted.zip 64K NotoSerifTamil-hinted= =2Ezip 8.0K NotoSansInscriptionalParthian-unhinted.zip 180K NotoSerifTelugu-hinte= d.zip 24K NotoSansJavanese-unhinted.zip 36K NotoSerifThai-hinted.z= ip 32K NotoSansKaithi-unhinted.zip > We want to avoid download large source repository checkouts > or large tarballs, this was one of the problems this project > was set out to solve. Would the tagged tarball of CJK be considered too big for our CI? Before we can break it up in small pieces we need to deal with what Google provides, which is awful in size. > If someone could look into the build process and describe it here > and how big the repositories are, this would save a good amount > of time for me (can't look into it that much this week I think). >=20 > > An example of that is =E2=80=98font-linuxlibertine=E2=80=99. > >=20 > > Thanks, > > Ludo=E2=80=99. > >=20 >=20 > --=20 > ng0 > GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 > GnuPG: https://krosos.org/dist/keys/ > https://www.infotropique.org https://www.krosos.org --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://www.krosos.org --2zwqbpn4zjqajk3z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlm2f9UACgkQ4i+bv+40 hYjJAA//X8nbNKrGKLTidbxSbAf/hHZvncN0UTB1SM8+47ej05ZNOES+4dRxkZ5k mCrVZYDhbLJtbnLOzVifua5L20MK2KsCFDzeXmK/V0f1p5nrr80ofto+bdxPhmMz X6UhhQPmOnQ577Sss9bVgWnilX83yejJu/4tgHJXSVN4stNJpxVYHjM7kQW2qsxo QU96sayemIb577IxikiIgxReN+UQ7cAWWMCOZ/OXq2h+OwazCZlKlj4dYVqdOk6q D8oL9N7Pt1VZ5Pr5V6UD6F7AhUugDeoaZOc0iXsLA6p9BYyd0c+PU9SwGmMkI5ww L/S96tchAkaPW3L+GwmcFLSjwf3dTiEGJgEbqEr3Eq0wS6tuEgXS04KXNl5x2Z3l ssJBCNiPjcWlrIN6Mc6pWIBOE9zugn3VlCVzrVsmSRliZ0QPr5q+vrAhNzFPNClP oGiq6qghKbPTmoNpgaxhkY4kg/baB3ICbONYtK7m/qdxkW8iqLCflqUfqlUH7FQn +NOEPlI0AXL7FprosqEhxwBML9c/rh+PME3ySOCPBCLJvmqE0Y90TxoyWG4F75au dGcghjbkA7BleiI73YZU2MuTkZbeywLy8Un9zZSTyHDY5be4G0jrkRjVehC1SLsd 3WmJbUJlWqegPLQgRa1+I4zW8EN3oW2KnYYqNoXAeA/5zsFIHUE= =kWOD -----END PGP SIGNATURE----- --2zwqbpn4zjqajk3z--