mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-05 21:15:38 -05:00
fonts: bundle Inter + FiraCode Nerd
- remove all font dependencies
This commit is contained in:
30
README.md
30
README.md
@@ -267,27 +267,9 @@ sudo dnf copr enable avengemedia/danklinux && sudo dnf install quickshell-git
|
||||
# ! TODO - document other distros
|
||||
```
|
||||
|
||||
#### 2. Install fonts
|
||||
*Inter Variable* and *Fira Code* are not strictly required, but they are the default fonts of dms.
|
||||
#### 2. Install the shell
|
||||
|
||||
#### 2.1 Install Inter Variable
|
||||
```bash
|
||||
sudo curl -L "https://github.com/rsms/inter/raw/refs/tags/v4.1/docs/font-files/InterVariable.ttf" -o /usr/share/fonts/InterVariable.ttf
|
||||
```
|
||||
|
||||
#### 2.2 Install Fira Code (monospace font)
|
||||
```bash
|
||||
sudo curl -L "https://github.com/tonsky/FiraCode/releases/latest/download/FiraCode-Regular.ttf" -o /usr/share/fonts/FiraCode-Regular.ttf
|
||||
```
|
||||
|
||||
#### 2.3 Refresh font cache
|
||||
```bash
|
||||
fc-cache -fv
|
||||
```
|
||||
|
||||
#### 3. Install the shell
|
||||
|
||||
#### 3.1. Clone latest QML
|
||||
#### 2.1. Clone latest QML
|
||||
|
||||
```bash
|
||||
mkdir ~/.config/quickshell && git clone https://github.com/AvengeMedia/DankMaterialShell.git ~/.config/quickshell/dms
|
||||
@@ -301,7 +283,7 @@ cd ~/.config/quickshell/dms
|
||||
git checkout $(git describe --tags --abbrev=0)
|
||||
```
|
||||
|
||||
#### 3.2. Install latest dms CLI
|
||||
#### 2.2. Install latest dms CLI
|
||||
|
||||
```bash
|
||||
sudo sh -c "curl -L https://github.com/AvengeMedia/danklinux/releases/latest/download/dms-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').gz | gunzip | tee /usr/local/bin/dms > /dev/null && chmod +x /usr/local/bin/dms"
|
||||
@@ -315,9 +297,9 @@ git clone https://github.com/AvengeMedia/danklinux.git && cd danklinux
|
||||
make && sudo make install
|
||||
```
|
||||
|
||||
#### 4. Optional Features (system monitoring, clipboard history, brightness controls, etc.)
|
||||
#### 3. Optional Features (system monitoring, clipboard history, brightness controls, etc.)
|
||||
|
||||
#### 4.1 Core optional dependencies
|
||||
#### 3.1 Core optional dependencies
|
||||
```bash
|
||||
# Arch Linux
|
||||
sudo pacman -S cava wl-clipboard cliphist brightnessctl qt6-multimedia accountsservice
|
||||
@@ -331,7 +313,7 @@ Note: by enabling and installing the avengemedia/dms copr above, these core depe
|
||||
|
||||
*Other distros will just need to find sources for the above packages*
|
||||
|
||||
#### 4.2 - dgop manual installation
|
||||
#### 3.2 - dgop manual installation
|
||||
|
||||
`dgop` is available via AUR and a nix flake, other distributions can install it manually.
|
||||
|
||||
|
||||
@@ -5,15 +5,22 @@ import qs.Services
|
||||
Text {
|
||||
property bool isMonospace: false
|
||||
|
||||
FontLoader {
|
||||
id: interFont
|
||||
source: Qt.resolvedUrl("../assets/fonts/inter/InterVariable.ttf")
|
||||
}
|
||||
|
||||
FontLoader {
|
||||
id: firaCodeFont
|
||||
source: Qt.resolvedUrl("../assets/fonts/nerd-fonts/FiraCodeNerdFont-Regular.ttf")
|
||||
}
|
||||
|
||||
readonly property string resolvedFontFamily: {
|
||||
const requestedFont = isMonospace ? SettingsData.monoFontFamily : SettingsData.fontFamily
|
||||
const defaultFont = isMonospace ? SettingsData.defaultMonoFontFamily : SettingsData.defaultFontFamily
|
||||
|
||||
if (requestedFont === defaultFont) {
|
||||
const availableFonts = Qt.fontFamilies()
|
||||
if (!availableFonts.includes(requestedFont)) {
|
||||
return isMonospace ? "Monospace" : "DejaVu Sans"
|
||||
}
|
||||
return isMonospace ? firaCodeFont.name : interFont.name
|
||||
}
|
||||
return requestedFont
|
||||
}
|
||||
|
||||
BIN
assets/fonts/inter/InterVariable.ttf
Normal file
BIN
assets/fonts/inter/InterVariable.ttf
Normal file
Binary file not shown.
92
assets/fonts/inter/LICENSE.txt
Normal file
92
assets/fonts/inter/LICENSE.txt
Normal file
@@ -0,0 +1,92 @@
|
||||
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION AND CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
164
assets/fonts/inter/README.md
Normal file
164
assets/fonts/inter/README.md
Normal file
@@ -0,0 +1,164 @@
|
||||
# Inter
|
||||
|
||||
Inter is a typeface carefully crafted & designed for computer screens.
|
||||
Inter features a tall x-height to aid in readability of mixed-case and lower-case text.
|
||||
Inter is a [variable font](https://rsms.me/inter/#variable) with
|
||||
several [OpenType features](https://rsms.me/inter/#features), like contextual alternates that adjusts punctuation depending on the shape of surrounding glyphs, slashed zero for when you need to disambiguate "0" from "o", tabular numbers, etc.
|
||||
|
||||
[**Download Inter font files…**](https://github.com/rsms/inter/releases/latest)
|
||||
|
||||
<br>
|
||||
|
||||
[](https://rsms.me/inter/)
|
||||
|
||||
|
||||
### Quick questions
|
||||
|
||||
- **Where can I get Inter?** [Here](https://github.com/rsms/inter/releases/latest)
|
||||
- **I think I found a bug. How can I let you know?** [Open an issue here](https://github.com/rsms/inter/issues/new?template=bug_report.md)
|
||||
- **I have a question. Where can I get help?** [Post in Discussions Q&A](https://github.com/rsms/inter/discussions/categories/q-a)
|
||||
- **Should I use Inter from Google Fonts?** No, unless you have no other choice.
|
||||
(outdated, no italics)
|
||||
- **Can I legally use Inter for my purpose?** Most likely _yes!_ Inter is free and open source.
|
||||
([Read the license](LICENSE.txt) for details.)
|
||||
|
||||
|
||||
## Using & installing Inter
|
||||
|
||||
[**Download the latest font files…**](https://github.com/rsms/inter/releases/latest)
|
||||
|
||||
Using Inter on a web page:
|
||||
|
||||
```html
|
||||
<link rel="preconnect" href="https://your-font-file-host/">
|
||||
<link rel="stylesheet" href="https://your-font-file-host/inter.css">
|
||||
```
|
||||
|
||||
```css
|
||||
:root { font-family: 'Inter', sans-serif; }
|
||||
@supports (font-variation-settings: normal) {
|
||||
:root { font-family: 'Inter var', sans-serif; }
|
||||
}
|
||||
```
|
||||
|
||||
For web pages, there's an official [CDN distribution](https://rsms.me/inter/inter.css) that you can use directly without having to host the font files yourself:
|
||||
|
||||
```html
|
||||
<link rel="preconnect" href="https://rsms.me/">
|
||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
||||
```
|
||||
|
||||
|
||||
### Alternate distributions
|
||||
|
||||
- [NPM `inter-ui`](https://www.npmjs.com/package/inter-ui)
|
||||
- [Homebrew `font-inter`](https://github.com/Homebrew/homebrew-cask-fonts)
|
||||
- [Ubuntu `fonts-inter`](https://packages.ubuntu.com/search?keywords=fonts-inter)
|
||||
- [List of Inter available on various Linux distributions…](https://repology.org/project/fonts:inter/versions)
|
||||
- [Google Fonts](https://fonts.google.com/specimen/Inter)
|
||||
|
||||
**Disclaimer:** Alternate distributions may not always be up-to-date.
|
||||
|
||||
|
||||
## Notable uses of Inter
|
||||
|
||||
- [ElementaryOS](https://elementary.io/)
|
||||
- [Figma](https://figma.com/)
|
||||
- [GitLab](https://gitlab.com/)
|
||||
- [Guggenheim museums](https://www.pentagram.com/work/guggenheim-3) ([case study](https://www.pentagram.com/work/guggenheim-3/))
|
||||
- [ISO (International Organization for Standardization)](https://www.iso.org/) ([case study](https://www.motherbird.com.au/projects/iso/))
|
||||
- [Minimalissimo magazine](https://minimalissimo.com/)
|
||||
- [Mozilla](https://mozilla.design/firefox/typography/)
|
||||
- [NASA](https://www.nasa.gov/specials/artemis-ii/)
|
||||
- [Pixar Presto](https://en.wikipedia.org/wiki/Presto_(animation_software))
|
||||
- [Switzerland, Canton of Zurich](https://www.zh.ch/)
|
||||
- [Unity](https://unity.com/)
|
||||
- [Zurich Airport](https://flughafen-zuerich.ch/)
|
||||
|
||||
|
||||
> **Have you made something nice with Inter?**<br>
|
||||
> [Please share in Show & Tell! →](https://github.com/rsms/inter/discussions/categories/show-and-tell)
|
||||
|
||||
|
||||
### Notable forks
|
||||
|
||||
- [Open Runde](https://github.com/lauridskern/open-runde) is a rounded variant of Inter
|
||||
- [Interalia](https://github.com/Shavian-info/interalia) extends Inter with Shavian characters
|
||||
- [Raveo](https://github.com/jakubfoglar/raveo) is a "warmer version" of Inter
|
||||
|
||||
|
||||
## Supporters & contributors
|
||||
|
||||
A wholehearted **Thank You** to everyone who supports the Inter project!
|
||||
|
||||
Special thanks to
|
||||
[@thundernixon](https://github.com/thundernixon) and
|
||||
[@KatjaSchimmel](https://github.com/KatjaSchimmel)
|
||||
who have put in significant effort into making Inter what it is through
|
||||
their contributions ♡
|
||||
|
||||
See [graphs/contributors](https://github.com/rsms/inter/graphs/contributors)
|
||||
for a complete list of all contributors.
|
||||
|
||||
|
||||
## Contributing to this project
|
||||
|
||||
For instructions on how to work with the source files and how to
|
||||
[compile & build font files](CONTRIBUTING.md#compiling-font-files),
|
||||
refer to [**CONTRIBUTING.md**](CONTRIBUTING.md).
|
||||
|
||||
Inter is licensed under the [SIL Open Font License](LICENSE.txt)
|
||||
|
||||
|
||||
## Creating derivative fonts
|
||||
|
||||
Inter is open source which means you can make your own versions with your own changes.
|
||||
However when doing so, please [**read LICENSE.txt carefully.**](LICENSE.txt) It is a standard **SIL Open Font License 1.1**:
|
||||
|
||||
> The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
> development of collaborative font projects, to support the font creation
|
||||
> efforts of academic and linguistic communities, and to provide a free and
|
||||
> open framework in which fonts may be shared and improved in partnership
|
||||
> with others.
|
||||
>
|
||||
> The OFL allows the licensed fonts to be used, studied, modified and
|
||||
> redistributed freely as long as they are not sold by themselves. The
|
||||
> fonts, including any derivative works, can be bundled, embedded,
|
||||
> redistributed and/or sold with any software provided that any reserved
|
||||
> names are not used by derivative works. The fonts and derivatives,
|
||||
> however, cannot be released under any other type of license. The
|
||||
> requirement for fonts to remain under this license does not apply
|
||||
> to any document created using the fonts or their derivatives.
|
||||
|
||||
While you are allowed to use Inter commercially, i.e. bundled with product or service which makes you money, you are NOT allowed to sell Inter itself or derivatives of Inter. If you would like to do so, please [reach out](https://github.com/rsms) and we can talk about it.
|
||||
|
||||
Inter a trademark of Rasmus Andersson (DBA: RSMS)
|
||||
|
||||
"Inter" is a Reserved Font Name by Rasmus Andersson
|
||||
([font vendor code RSMS.](https://learn.microsoft.com/en-us/typography/vendors/#r))
|
||||
|
||||
|
||||
## Design
|
||||
|
||||
_This section discusses some of the design choices made for Inter._
|
||||
|
||||
Inter can be classified as a geometric neo-grotesque, similar in style to Roboto, Apple San Francisco, Akkurat, Asap, Lucida Grande and more. Some trade-offs were made in order to make this typeface work really well at small sizes:
|
||||
|
||||
- Early versions of Inter was not suitable for very large sizes because of some small-scale glyph optimizations (like "pits" and "traps") that help rasterization at small sizes but stand out and interfere at large sizes. However today Inter works well at large sizes and a [Display subfamily](https://github.com/rsms/inter/releases/tag/display-beta-1) is in the works for really large "display" sizes.
|
||||
|
||||
- Rasterized at sizes below 12px, some stems—like the horizontal center of "E", "F", or vertical center of "m"—are drawn with two semi-opaque pixels instead of one solid. This is because we "prioritize" (optimize for) higher-density rasterizations. If we move these stems to an off-center position—so that they can be drawn sharply at e.g. 11px—text will be less legible at higher resolutions.
|
||||
|
||||
Inter is a [variable font](https://rsms.me/inter/#variable) and is in addition also distributed as a set of traditional distinct font files in the following styles:
|
||||
|
||||
| Roman (upright) name | Italic name | Weight
|
||||
| -------------------- | -------------------- | ------------
|
||||
| Thin | Thin Italic | 100
|
||||
| Extra Light | Extra Light Italic | 200
|
||||
| Light | Light Italic | 300
|
||||
| Regular | Italic | 400
|
||||
| Medium | Medium Italic | 500
|
||||
| Semi Bold | Semi Bold Italic | 600
|
||||
| Bold | Bold Italic | 700
|
||||
| Extra Bold | Extra Bold Italic | 800
|
||||
| Black | Black Italic | 900
|
||||
|
||||
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Bold.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Light.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Medium.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Regular.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Retina.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-Retina.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-SemiBold.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFont-SemiBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Bold.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Light.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Medium.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Regular.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Retina.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-Retina.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-SemiBold.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontMono-SemiBold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Bold.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Light.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Medium.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Regular.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Retina.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-Retina.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-SemiBold.ttf
Normal file
BIN
assets/fonts/nerd-fonts/FiraCodeNerdFontPropo-SemiBold.ttf
Normal file
Binary file not shown.
93
assets/fonts/nerd-fonts/LICENSE
Normal file
93
assets/fonts/nerd-fonts/LICENSE
Normal file
@@ -0,0 +1,93 @@
|
||||
Copyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
48
assets/fonts/nerd-fonts/README.md
Normal file
48
assets/fonts/nerd-fonts/README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# Nerd Fonts
|
||||
|
||||
This is an archived font from the Nerd Fonts release v3.4.0.
|
||||
|
||||
For more information see:
|
||||
* https://github.com/ryanoasis/nerd-fonts/
|
||||
* https://github.com/ryanoasis/nerd-fonts/releases/latest/
|
||||
|
||||
# Fira Code
|
||||
|
||||
**Fira Code** is a free monospaced font with programming ligatures.
|
||||
|
||||
For more information have a look at the upstream website: https://github.com/tonsky/FiraCode
|
||||
|
||||
Version: 6.2
|
||||
|
||||
## Which font?
|
||||
|
||||
### TL;DR
|
||||
|
||||
* Pick your font family:
|
||||
* If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with `Nerd Font Mono` (or `NFM`).
|
||||
* If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without `Mono` i.e. `Nerd Font` (or `NF`). Most terminals support this, but ymmv.
|
||||
* If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with `Nerd Font Propo` (or `NFP`).
|
||||
|
||||
### Ligatures
|
||||
|
||||
Ligatures are generally preserved in the patched fonts.
|
||||
Nerd Fonts `v2.0.0` had no ligatures in the `Nerd Font Mono` fonts, this has been dropped with `v2.1.0`.
|
||||
If you have a ligature-aware terminal and don't want ligatures you can (usually) disable them in the terminal settings.
|
||||
|
||||
### Explanation
|
||||
|
||||
Once you narrow down your font choice of family (`Droid Sans`, `Inconsolata`, etc) and style (`bold`, `italic`, etc) you have 2 main choices:
|
||||
|
||||
#### `Option 1: Download already patched font`
|
||||
|
||||
* For a stable version download a font package from the [release page](https://github.com/ryanoasis/nerd-fonts/releases)
|
||||
* Or download the development version from the folders here
|
||||
|
||||
#### `Option 2: Patch your own font`
|
||||
|
||||
* Patch your own variations with the various options provided by the font patcher (i.e. not include all symbols for smaller font size)
|
||||
|
||||
For more information see: [The FAQ](https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#which-font)
|
||||
|
||||
[SIL-RFN]:http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web_fonts_and_RFNs#14cbfd4a
|
||||
|
||||
Reference in New Issue
Block a user