Commit Graph

10 Commits

Author SHA1 Message Date
linsui
185cef4cc0 sourceHanPackages: add variable fonts
Variable fonts are much smaller than static Super OTC fonts (36M vs 112M) and has two formats (OTF and TTF)
2023-10-05 21:52:23 +08:00
usertam
4b2bd1afde
source-han-serif: 2.000 -> 2.001 2023-08-08 02:20:11 +08:00
Weijia Wang
7562d1ed9c treewide: convert 9 fonts to stdenvNoCC.mkDerivation 2023-01-28 09:08:17 +01:00
Scott Worley
af89d3a2be 78 fonts: Fix build after #173430 changed postFetch semantics 2023-01-17 01:03:11 +02:00
Vanilla
9dfc47b0a1
source-han-serif: 1.001R -> 2.000R 2021-10-25 21:11:39 +08:00
linsui
22aad26526 source-han-*: use fetchzip instead of mkDerivation 2021-09-30 19:00:22 +08:00
linsui
0901b41056 source-han-sans: 2.001 -> 2.004 2021-09-29 22:27:04 +08:00
linsui
3b0afe2ee4 source-han-*: install instead of ln
libreoffice doesn't work with fonts symlink
2021-09-29 00:46:39 +08:00
Gabriel Ebner
9fb2c88df4 source-han-*: reduce closure size by 2x
The file name of the installed font was the path returned by fetchurl:
`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-SourceHanSans.ttc`

This caused the derivation to reference the downloaded font file,
storing the font twice unless you optimise the store (each file is
~150M).
2020-08-17 19:23:12 +02:00
Emily
6eb45bf38a source-han-{sans,serif,mono}: {update,refactor,init}
* source-han-sans: 1.004R -> 2.001
* source-han-serif: switch to Super OTC
* source-han-mono: init at 1.002

The Source Han fonts now use shared package infrastructure, and the
Super OTC distributions, which unify the various scripts into a single
bundle file, improving automatic font selection and reducing overall
disk space usage. This also means that the Traditional
Chinese—Hong Kong language variant is now included.

The old package names including language are aliased to the Super OTC
bundle packages.
2020-02-29 14:57:27 +03:00