checkpointing, heavy dev
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Package font provides embedded font resources for hdmistat
|
||||
package font
|
||||
|
||||
import (
|
||||
@@ -7,38 +8,260 @@ import (
|
||||
"github.com/golang/freetype/truetype"
|
||||
)
|
||||
|
||||
// IBM Plex Mono fonts
|
||||
//
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-Thin.ttf
|
||||
var ibmPlexMonoThin []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-ThinItalic.ttf
|
||||
var ibmPlexMonoThinItalic []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-ExtraLight.ttf
|
||||
var ibmPlexMonoExtraLight []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-ExtraLightItalic.ttf
|
||||
var ibmPlexMonoExtraLightItalic []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-Light.ttf
|
||||
var ibmPlexMonoLight []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-LightItalic.ttf
|
||||
var ibmPlexMonoLightItalic []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf
|
||||
var ibmPlexMonoRegular []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-Italic.ttf
|
||||
var ibmPlexMonoItalic []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-Medium.ttf
|
||||
var ibmPlexMonoMedium []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-MediumItalic.ttf
|
||||
var ibmPlexMonoMediumItalic []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-SemiBold.ttf
|
||||
var ibmPlexMonoSemiBold []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-SemiBoldItalic.ttf
|
||||
var ibmPlexMonoSemiBoldItalic []byte
|
||||
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-Bold.ttf
|
||||
var ibmPlexMonoBold []byte
|
||||
|
||||
// LoadIBMPlexMono loads the embedded IBM Plex Mono font (Light weight)
|
||||
func LoadIBMPlexMono() (*truetype.Font, error) {
|
||||
font, err := truetype.Parse(ibmPlexMonoLight)
|
||||
//go:embed fonts/IBM_Plex_Mono/IBMPlexMono-BoldItalic.ttf
|
||||
var ibmPlexMonoBoldItalic []byte
|
||||
|
||||
// Source Code Pro fonts
|
||||
//
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-ExtraLight.ttf
|
||||
var sourceCodeProExtraLight []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-ExtraLightItalic.ttf
|
||||
var sourceCodeProExtraLightItalic []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-Light.ttf
|
||||
var sourceCodeProLight []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-LightItalic.ttf
|
||||
var sourceCodeProLightItalic []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-Regular.ttf
|
||||
var sourceCodeProRegular []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-Italic.ttf
|
||||
var sourceCodeProItalic []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-Medium.ttf
|
||||
var sourceCodeProMedium []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-MediumItalic.ttf
|
||||
var sourceCodeProMediumItalic []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-SemiBold.ttf
|
||||
var sourceCodeProSemiBold []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-SemiBoldItalic.ttf
|
||||
var sourceCodeProSemiBoldItalic []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-Bold.ttf
|
||||
var sourceCodeProBold []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-BoldItalic.ttf
|
||||
var sourceCodeProBoldItalic []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-ExtraBold.ttf
|
||||
var sourceCodeProExtraBold []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-ExtraBoldItalic.ttf
|
||||
var sourceCodeProExtraBoldItalic []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-Black.ttf
|
||||
var sourceCodeProBlack []byte
|
||||
|
||||
//go:embed fonts/Source_Code_Pro/SourceCodePro-BlackItalic.ttf
|
||||
var sourceCodeProBlackItalic []byte
|
||||
|
||||
// FontWeight represents font weight
|
||||
type FontWeight string
|
||||
|
||||
// Font weight constants
|
||||
const (
|
||||
// WeightThin represents thin font weight
|
||||
WeightThin FontWeight = "thin"
|
||||
WeightExtraLight FontWeight = "extralight"
|
||||
WeightLight FontWeight = "light"
|
||||
WeightRegular FontWeight = "regular"
|
||||
WeightMedium FontWeight = "medium"
|
||||
WeightSemiBold FontWeight = "semibold"
|
||||
WeightBold FontWeight = "bold"
|
||||
WeightExtraBold FontWeight = "extrabold"
|
||||
WeightBlack FontWeight = "black"
|
||||
)
|
||||
|
||||
// FontFamily represents a font family
|
||||
type FontFamily string
|
||||
|
||||
// Font family constants
|
||||
const (
|
||||
// FamilyIBMPlexMono represents IBM Plex Mono font family
|
||||
FamilyIBMPlexMono FontFamily = "ibmplexmono"
|
||||
FamilySourceCodePro FontFamily = "sourcecodepro"
|
||||
)
|
||||
|
||||
// LoadFont loads a font with the specified family, weight, and italic style
|
||||
func LoadFont(family FontFamily, weight FontWeight, italic bool) (*truetype.Font, error) {
|
||||
var fontData []byte
|
||||
|
||||
switch family {
|
||||
case FamilyIBMPlexMono:
|
||||
switch weight {
|
||||
case WeightThin:
|
||||
if italic {
|
||||
fontData = ibmPlexMonoThinItalic
|
||||
} else {
|
||||
fontData = ibmPlexMonoThin
|
||||
}
|
||||
case WeightExtraLight:
|
||||
if italic {
|
||||
fontData = ibmPlexMonoExtraLightItalic
|
||||
} else {
|
||||
fontData = ibmPlexMonoExtraLight
|
||||
}
|
||||
case WeightLight:
|
||||
if italic {
|
||||
fontData = ibmPlexMonoLightItalic
|
||||
} else {
|
||||
fontData = ibmPlexMonoLight
|
||||
}
|
||||
case WeightRegular:
|
||||
if italic {
|
||||
fontData = ibmPlexMonoItalic
|
||||
} else {
|
||||
fontData = ibmPlexMonoRegular
|
||||
}
|
||||
case WeightMedium:
|
||||
if italic {
|
||||
fontData = ibmPlexMonoMediumItalic
|
||||
} else {
|
||||
fontData = ibmPlexMonoMedium
|
||||
}
|
||||
case WeightSemiBold:
|
||||
if italic {
|
||||
fontData = ibmPlexMonoSemiBoldItalic
|
||||
} else {
|
||||
fontData = ibmPlexMonoSemiBold
|
||||
}
|
||||
case WeightBold:
|
||||
if italic {
|
||||
fontData = ibmPlexMonoBoldItalic
|
||||
} else {
|
||||
fontData = ibmPlexMonoBold
|
||||
}
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported weight %s for IBM Plex Mono", weight)
|
||||
}
|
||||
|
||||
case FamilySourceCodePro:
|
||||
switch weight {
|
||||
case WeightExtraLight:
|
||||
if italic {
|
||||
fontData = sourceCodeProExtraLightItalic
|
||||
} else {
|
||||
fontData = sourceCodeProExtraLight
|
||||
}
|
||||
case WeightLight:
|
||||
if italic {
|
||||
fontData = sourceCodeProLightItalic
|
||||
} else {
|
||||
fontData = sourceCodeProLight
|
||||
}
|
||||
case WeightRegular:
|
||||
if italic {
|
||||
fontData = sourceCodeProItalic
|
||||
} else {
|
||||
fontData = sourceCodeProRegular
|
||||
}
|
||||
case WeightMedium:
|
||||
if italic {
|
||||
fontData = sourceCodeProMediumItalic
|
||||
} else {
|
||||
fontData = sourceCodeProMedium
|
||||
}
|
||||
case WeightSemiBold:
|
||||
if italic {
|
||||
fontData = sourceCodeProSemiBoldItalic
|
||||
} else {
|
||||
fontData = sourceCodeProSemiBold
|
||||
}
|
||||
case WeightBold:
|
||||
if italic {
|
||||
fontData = sourceCodeProBoldItalic
|
||||
} else {
|
||||
fontData = sourceCodeProBold
|
||||
}
|
||||
case WeightExtraBold:
|
||||
if italic {
|
||||
fontData = sourceCodeProExtraBoldItalic
|
||||
} else {
|
||||
fontData = sourceCodeProExtraBold
|
||||
}
|
||||
case WeightBlack:
|
||||
if italic {
|
||||
fontData = sourceCodeProBlackItalic
|
||||
} else {
|
||||
fontData = sourceCodeProBlack
|
||||
}
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported weight %s for Source Code Pro", weight)
|
||||
}
|
||||
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported font family: %s", family)
|
||||
}
|
||||
|
||||
if len(fontData) == 0 {
|
||||
return nil, fmt.Errorf("font data not found for %s %s italic=%v", family, weight, italic)
|
||||
}
|
||||
|
||||
font, err := truetype.Parse(fontData)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("parsing font: %w", err)
|
||||
}
|
||||
return font, nil
|
||||
}
|
||||
|
||||
// LoadIBMPlexMonoRegular loads the regular weight font
|
||||
func LoadIBMPlexMonoRegular() (*truetype.Font, error) {
|
||||
font, err := truetype.Parse(ibmPlexMonoRegular)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("parsing regular font: %w", err)
|
||||
}
|
||||
return font, nil
|
||||
// LoadIBMPlexMono loads the default IBM Plex Mono font (ExtraLight)
|
||||
func LoadIBMPlexMono() (*truetype.Font, error) {
|
||||
return LoadFont(FamilyIBMPlexMono, WeightExtraLight, false)
|
||||
}
|
||||
|
||||
// LoadIBMPlexMonoBold loads the bold weight font
|
||||
func LoadIBMPlexMonoBold() (*truetype.Font, error) {
|
||||
font, err := truetype.Parse(ibmPlexMonoBold)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("parsing bold font: %w", err)
|
||||
}
|
||||
return font, nil
|
||||
// LoadIBMPlexMonoRegular loads IBM Plex Mono Regular font
|
||||
func LoadIBMPlexMonoRegular() (*truetype.Font, error) {
|
||||
return LoadFont(FamilyIBMPlexMono, WeightRegular, false)
|
||||
}
|
||||
|
||||
// LoadIBMPlexMonoBold loads IBM Plex Mono Bold font
|
||||
func LoadIBMPlexMonoBold() (*truetype.Font, error) {
|
||||
return LoadFont(FamilyIBMPlexMono, WeightBold, false)
|
||||
}
|
||||
|
||||
93
internal/font/fonts/Source_Code_Pro/OFL.txt
Normal file
93
internal/font/fonts/Source_Code_Pro/OFL.txt
Normal file
@@ -0,0 +1,93 @@
|
||||
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
|
||||
|
||||
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:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
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.
|
||||
79
internal/font/fonts/Source_Code_Pro/README.txt
Normal file
79
internal/font/fonts/Source_Code_Pro/README.txt
Normal file
@@ -0,0 +1,79 @@
|
||||
Source Code Pro Variable Font
|
||||
=============================
|
||||
|
||||
This download contains Source Code Pro as both variable fonts and static fonts.
|
||||
|
||||
Source Code Pro is a variable font with this axis:
|
||||
wght
|
||||
|
||||
This means all the styles are contained in these files:
|
||||
Source_Code_Pro/SourceCodePro-VariableFont_wght.ttf
|
||||
Source_Code_Pro/SourceCodePro-Italic-VariableFont_wght.ttf
|
||||
|
||||
If your app fully supports variable fonts, you can now pick intermediate styles
|
||||
that aren’t available as static fonts. Not all apps support variable fonts, and
|
||||
in those cases you can use the static font files for Source Code Pro:
|
||||
Source_Code_Pro/static/SourceCodePro-ExtraLight.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-Light.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-Regular.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-Medium.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-SemiBold.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-Bold.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-ExtraBold.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-Black.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-ExtraLightItalic.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-LightItalic.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-Italic.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-MediumItalic.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-SemiBoldItalic.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-BoldItalic.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-ExtraBoldItalic.ttf
|
||||
Source_Code_Pro/static/SourceCodePro-BlackItalic.ttf
|
||||
|
||||
Get started
|
||||
-----------
|
||||
|
||||
1. Install the font files you want to use
|
||||
|
||||
2. Use your app's font picker to view the font family and all the
|
||||
available styles
|
||||
|
||||
Learn more about variable fonts
|
||||
-------------------------------
|
||||
|
||||
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
||||
https://variablefonts.typenetwork.com
|
||||
https://medium.com/variable-fonts
|
||||
|
||||
In desktop apps
|
||||
|
||||
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
||||
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
||||
|
||||
Online
|
||||
|
||||
https://developers.google.com/fonts/docs/getting_started
|
||||
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
||||
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
||||
|
||||
Installing fonts
|
||||
|
||||
MacOS: https://support.apple.com/en-us/HT201749
|
||||
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
||||
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
||||
|
||||
Android Apps
|
||||
|
||||
https://developers.google.com/fonts/docs/android
|
||||
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
||||
|
||||
License
|
||||
-------
|
||||
Please read the full license text (OFL.txt) to understand the permissions,
|
||||
restrictions and requirements for usage, redistribution, and modification.
|
||||
|
||||
You can use them in your products & projects – print or digital,
|
||||
commercial or otherwise.
|
||||
|
||||
This isn't legal advice, please consider consulting a lawyer and see the full
|
||||
license for all details.
|
||||
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Black.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Black.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Bold.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Bold.ttf
Normal file
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-BoldItalic.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-ExtraBold.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-ExtraBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-ExtraLight.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-ExtraLight.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Italic.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Italic.ttf
Normal file
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Light.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Light.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Medium.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Medium.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Regular.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-Regular.ttf
Normal file
Binary file not shown.
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-SemiBold.ttf
Normal file
BIN
internal/font/fonts/Source_Code_Pro/SourceCodePro-SemiBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
94
internal/font/fonts/Terminus/OFL.TXT
Normal file
94
internal/font/fonts/Terminus/OFL.TXT
Normal file
@@ -0,0 +1,94 @@
|
||||
Copyright (C) 2020 Dimitar Toshkov Zhekov,
|
||||
with Reserved Font Name "Terminus Font".
|
||||
|
||||
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.
|
||||
25792
internal/font/fonts/Terminus/ter-u12b.bdf
Normal file
25792
internal/font/fonts/Terminus/ter-u12b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
25792
internal/font/fonts/Terminus/ter-u12n.bdf
Normal file
25792
internal/font/fonts/Terminus/ter-u12n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
28504
internal/font/fonts/Terminus/ter-u14b.bdf
Normal file
28504
internal/font/fonts/Terminus/ter-u14b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
28504
internal/font/fonts/Terminus/ter-u14n.bdf
Normal file
28504
internal/font/fonts/Terminus/ter-u14n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
28504
internal/font/fonts/Terminus/ter-u14v.bdf
Normal file
28504
internal/font/fonts/Terminus/ter-u14v.bdf
Normal file
File diff suppressed because it is too large
Load Diff
31216
internal/font/fonts/Terminus/ter-u16b.bdf
Normal file
31216
internal/font/fonts/Terminus/ter-u16b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
31216
internal/font/fonts/Terminus/ter-u16n.bdf
Normal file
31216
internal/font/fonts/Terminus/ter-u16n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
31216
internal/font/fonts/Terminus/ter-u16v.bdf
Normal file
31216
internal/font/fonts/Terminus/ter-u16v.bdf
Normal file
File diff suppressed because it is too large
Load Diff
33928
internal/font/fonts/Terminus/ter-u18b.bdf
Normal file
33928
internal/font/fonts/Terminus/ter-u18b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
33928
internal/font/fonts/Terminus/ter-u18n.bdf
Normal file
33928
internal/font/fonts/Terminus/ter-u18n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
36640
internal/font/fonts/Terminus/ter-u20b.bdf
Normal file
36640
internal/font/fonts/Terminus/ter-u20b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
36640
internal/font/fonts/Terminus/ter-u20n.bdf
Normal file
36640
internal/font/fonts/Terminus/ter-u20n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
39352
internal/font/fonts/Terminus/ter-u22b.bdf
Normal file
39352
internal/font/fonts/Terminus/ter-u22b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
39352
internal/font/fonts/Terminus/ter-u22n.bdf
Normal file
39352
internal/font/fonts/Terminus/ter-u22n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
42064
internal/font/fonts/Terminus/ter-u24b.bdf
Normal file
42064
internal/font/fonts/Terminus/ter-u24b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
42064
internal/font/fonts/Terminus/ter-u24n.bdf
Normal file
42064
internal/font/fonts/Terminus/ter-u24n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
47488
internal/font/fonts/Terminus/ter-u28b.bdf
Normal file
47488
internal/font/fonts/Terminus/ter-u28b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
47488
internal/font/fonts/Terminus/ter-u28n.bdf
Normal file
47488
internal/font/fonts/Terminus/ter-u28n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
52912
internal/font/fonts/Terminus/ter-u32b.bdf
Normal file
52912
internal/font/fonts/Terminus/ter-u32b.bdf
Normal file
File diff suppressed because it is too large
Load Diff
52912
internal/font/fonts/Terminus/ter-u32n.bdf
Normal file
52912
internal/font/fonts/Terminus/ter-u32n.bdf
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user