feat: adds input-djr
This commit is contained in:
parent
0155646a78
commit
b8b1feccb2
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
custom-fonts = import ./fonts { inherit pkgs; };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
@ -54,6 +57,11 @@
|
|||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
|
fonts.fonts = with pkgs; [
|
||||||
|
fira-code
|
||||||
|
fira-code-symbols
|
||||||
|
custom-fonts.input-font
|
||||||
|
];
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
@ -118,4 +126,3 @@
|
|||||||
system.stateVersion = "20.09"; # Did you read the comment?
|
system.stateVersion = "20.09"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
23
fonts/default.nix
Normal file
23
fonts/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
let
|
||||||
|
input-font = pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
pname = "input";
|
||||||
|
version = "1.0.1";
|
||||||
|
src = ./.;
|
||||||
|
dontConfigure = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
cp -R out $out/
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Input DJR font";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
inherit input-font;
|
||||||
|
}
|
26
fonts/out/Input_DJR/ChangeLog.txt
Normal file
26
fonts/out/Input_DJR/ChangeLog.txt
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
INPUT
|
||||||
|
CHANGE LOG
|
||||||
|
|
||||||
|
* v 1.2 2015-06-24 David Jonathan Ross <input@fontbureau.com>
|
||||||
|
* Removed ligatures and reset widths in Monospaced fonts so that they are strictly monospaced (all glyphs have same width value). This helps Input get recognized as monospaced by Ubuntu Terminal other apps.
|
||||||
|
* Fixed bug in Stylistic Set 20, fancy math characters.
|
||||||
|
|
||||||
|
* v 1.1.5 2014-09-19 David Jonathan Ross <input@fontbureau.com>
|
||||||
|
|
||||||
|
* Changed default line-height option to 1.2x.
|
||||||
|
* Added web customization support for alternate curly bracket glyphs and dotless zero glyphs.
|
||||||
|
* Added “Download with these settings” button to preview page, which will automatically fill out the customization form on the download page.
|
||||||
|
* Added live-updating URL to preview and download pages, which allows bookmarking and sharing of customization settings.
|
||||||
|
|
||||||
|
* v 1.1 2014-09-03 David Jonathan Ross <input@fontbureau.com>
|
||||||
|
|
||||||
|
* Added glyphs for [Powerline](https://github.com/Lokaltog/powerline) (U+E0A0–E0A2, U+E0B0–E0B3).
|
||||||
|
* Added glyph for high voltage sign character (U+26A1).
|
||||||
|
* Added alternate curly bracket glyphs for users who prefer simplified forms.
|
||||||
|
* Added alternate dotless zero glyph for users who don’t want a dot or slash in the zero.
|
||||||
|
* Added zero width space (U+200B) and zero width no-break space (U+FEFF).
|
||||||
|
* Added Stylistic Alternates {salt} OpenType feature.
|
||||||
|
|
||||||
|
* v 1.0 2014-08-03 David Jonathan Ross <input@fontbureau.com>
|
||||||
|
|
||||||
|
* Initial release.
|
75
fonts/out/Input_DJR/INSTALL.txt
Executable file
75
fonts/out/Input_DJR/INSTALL.txt
Executable file
@ -0,0 +1,75 @@
|
|||||||
|
INPUT
|
||||||
|
===============
|
||||||
|
|
||||||
|
## FONT INSTALLATION
|
||||||
|
|
||||||
|
Once you have downloaded and unzipped your fonts, you can install them on your system. Please choose one of the methods below and follow the instructions to install your fonts.
|
||||||
|
|
||||||
|
Using Font Management Software:
|
||||||
|
|
||||||
|
Many users managing large collections of fonts use font management software, which allow them to activate and deactivate fonts, organize their font library, and provide various other features.
|
||||||
|
|
||||||
|
If you are using font management software, follow the installation instructions that came with the software. Typically installation is as simple as dragging the font file into the font management software.
|
||||||
|
|
||||||
|
|
||||||
|
### Using Mac OS:
|
||||||
|
|
||||||
|
Close all open applications, and locate the folder of fonts that you want to install in Finder.
|
||||||
|
|
||||||
|
On Mac OS X, we recommend installing fonts using Font Book, an app. Simply drag the font files onto Font Book to install.
|
||||||
|
|
||||||
|
Alternatively, you can drag the font files manually to the /User/Library/Fonts folder, or in versions prior to OS X, the /System/Fonts folder.
|
||||||
|
|
||||||
|
|
||||||
|
### Using Windows:
|
||||||
|
|
||||||
|
1. Navigate to Control Panel > Fonts. You can find the Control Panel in Start > Control Panel, or in versions prior to Windows XP, Start > Settings > Control Panel.
|
||||||
|
|
||||||
|
2. Choose File > Install New Font.
|
||||||
|
|
||||||
|
3. In the dialog, locate the fonts you want to install by choosing the drive and folder where the fonts are located. Once the folder is selected, the fonts will appear under List of Fonts.
|
||||||
|
|
||||||
|
4. From the List of Fonts, select the fonts that you would like to install (CTRL+A will select all fonts in the list). We recommend that you select Copy fonts to the Fonts folder.
|
||||||
|
|
||||||
|
5. When you see the font name in the Fonts folder, the font has been loaded and is ready for use.
|
||||||
|
|
||||||
|
Alternatively, in recent versions of Windows, you can simply right-click on a font file and choose “Install” from the menu.
|
||||||
|
|
||||||
|
### Linux
|
||||||
|
|
||||||
|
Create a folder ~/.fonts and move all fonts to that directory. I recommend you copy only the *.ttf files to ~/.fonts, and run `fc-cache -fv`.
|
||||||
|
|
||||||
|
### Using other operating systems:
|
||||||
|
|
||||||
|
I have to admit, I don't have tons of experience installing fonts on other operating systems, but usually it’s as easy as putting the font files in the right folder. Please consult your the manual for your operating system.
|
||||||
|
|
||||||
|
|
||||||
|
## TROUBLESHOOTING
|
||||||
|
|
||||||
|
Many font installation issues are due to issues in the operating system's font caches. If you find that the fonts are not appearing in the font menu, follow the instructions below to clear your caches. If you continue to have issues installing your fonts, please contact us for assistance.
|
||||||
|
|
||||||
|
|
||||||
|
### Clearing the Font Caches in Mac OS X:
|
||||||
|
|
||||||
|
There are a variety of font cache files in Mac OS X, so we recommend you use a third party utility to clear them.
|
||||||
|
|
||||||
|
FontNuke <http://www.jamapi.com/pr/fn/> is a free download that will clear font caches. Simply download the program, open it, and follow the instructions provided. Note that it requires you to restart your system.
|
||||||
|
|
||||||
|
Many font management programs are also equipped to clear font caches. Please consult the instructions that came with that software.
|
||||||
|
|
||||||
|
If you wish to clear the font caches manually, follow the instructions on this page:
|
||||||
|
|
||||||
|
<http://www.glyphsapp.com/tutorials/eliminating-font-cache-problems>
|
||||||
|
|
||||||
|
Or, for earlier versions of OS X:
|
||||||
|
|
||||||
|
<http://helpx.adobe.com/x-productkb/global/troubleshoot-fonts-mac-os-x.html>
|
||||||
|
|
||||||
|
|
||||||
|
### Clearing the Font Cache in Windows:
|
||||||
|
|
||||||
|
1. Locate the font cache file by navigating to C:\Windows\System32\FNTCACHE.DAT. In versions prior to Windows XP, the cache file is C:\WINDOWS\ttfCache.
|
||||||
|
|
||||||
|
2. Delete this cache file by pressing the delete key or moving it to the Recycle Bin.
|
||||||
|
|
||||||
|
3. Restart your computer, and the cache file will be rebuilt.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user