2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
2016-08-25 10:28:03 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
fetchFromGitHub {
|
2016-08-31 06:59:01 +01:00
|
|
|
name = "oxygenfonts-20160824";
|
2016-08-28 20:18:10 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
owner = "vernnobile";
|
|
|
|
repo = "oxygenFont";
|
|
|
|
rev = "62db0ebe3488c936406685485071a54e3d18473b";
|
2016-08-28 20:18:10 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
2019-05-13 02:55:32 +01:00
|
|
|
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
|
2016-08-28 20:18:10 +01:00
|
|
|
'';
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "17m86p1s7a7d90zqjsr46h5bpmas4vxsgj7kd0j5c8cb7lw92jyf";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2016-08-28 20:18:10 +01:00
|
|
|
description = "Desktop/gui font for integrated use with the KDE desktop";
|
|
|
|
longDescription = ''
|
2016-08-25 10:28:03 +01:00
|
|
|
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/
|
2016-08-28 20:18:10 +01:00
|
|
|
'';
|
2016-08-25 10:28:03 +01:00
|
|
|
|
2016-08-28 20:18:10 +01:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2016-08-25 10:28:03 +01:00
|
|
|
}
|