diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
commit | c4625b175f8200f643fd6e11010932ea44c78433 (patch) | |
tree | bce3f89888c8ac3991fa5569a878a9eab6801ccc /infra/libkookie/nixpkgs/pkgs/data/fonts/oxygenfonts | |
parent | 49f735974dd103039ddc4cb576bb76555164a9e7 (diff) | |
parent | d661aa56a8843e991261510c1bb28fdc2f6975ae (diff) |
Add 'infra/libkookie/' from commit 'd661aa56a8843e991261510c1bb28fdc2f6975ae'
git-subtree-dir: infra/libkookie
git-subtree-mainline: 49f735974dd103039ddc4cb576bb76555164a9e7
git-subtree-split: d661aa56a8843e991261510c1bb28fdc2f6975ae
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/data/fonts/oxygenfonts')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/data/fonts/oxygenfonts/default.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/data/fonts/oxygenfonts/default.nix b/infra/libkookie/nixpkgs/pkgs/data/fonts/oxygenfonts/default.nix new file mode 100644 index 000000000000..e34e49d98147 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/data/fonts/oxygenfonts/default.nix @@ -0,0 +1,48 @@ +{ lib, fetchFromGitHub }: + +fetchFromGitHub { + name = "oxygenfonts-20160824"; + + owner = "vernnobile"; + repo = "oxygenFont"; + rev = "62db0ebe3488c936406685485071a54e3d18473b"; + + postFetch = '' + tar xf $downloadedFile --strip=1 + mkdir -p $out/share/fonts/truetype + cp */Oxygen-Sans.ttf */Oxygen-Sans-Bold.ttf */OxygenMono-Regular.ttf $out/share/fonts/truetype + ''; + + sha256 = "17m86p1s7a7d90zqjsr46h5bpmas4vxsgj7kd0j5c8cb7lw92jyf"; + + meta = with lib; { + description = "Desktop/gui font for integrated use with the KDE desktop"; + longDescription = '' + Oxygen Font is a font family originally aimed as a desktop/gui + font for integrated use with the KDE desktop. + + The basic concept for Oxygen Font was to design a clear, + legible, sans serif, that would be rendered with Freetype on + Linux-based devices. In addition a bold weight, plus regular and + bold italics, and a monospace version will be made. + + Oxygen is constructed closely with the gridfitting aspects of + the Freetype font rendering engine. The oxygen fonts are also + autohinted with Werner Lemberg's "ttfautohint" library to + further the compatibility with the Freetype engine. The aim of + this approach is to produce a family of freetype-specific + desktop fonts whose appearance will stay uniform under different + screen render settings, unlike more traditionally designed + 'screen fonts' that have tended to be designed for best + legibility on the Windows GDI render engine. + + The main creator of Oxygen, Vernon Adams, suffered a heavy + traffic accident three months after its last release, causing him severe brain + injury. He finally passed away, sans oxygen, on August 25th 2016. + See: http://sansoxygen.com/ + ''; + + license = licenses.ofl; + platforms = platforms.all; + }; +} |