From c66641b76b03dc228b46d01949aadf0959606ed3 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Mon, 3 Sep 2018 14:19:11 -0700 Subject: mv misc/doc -> misc/dist --- misc/dist/hinted vs unhinted.txt | 18 ++++++++++++ misc/dist/install-mac.txt | 24 ++++++++++++++++ misc/dist/install-win.txt | 32 ++++++++++++++++++++++ misc/dist/inter-ui.css | 59 ++++++++++++++++++++++++++++++++++++++++ misc/doc/hinted vs unhinted.txt | 17 ------------ misc/doc/install-mac.txt | 24 ---------------- misc/doc/install-win.txt | 32 ---------------------- misc/doc/inter-ui.css | 59 ---------------------------------------- 8 files changed, 133 insertions(+), 132 deletions(-) create mode 100644 misc/dist/hinted vs unhinted.txt create mode 100644 misc/dist/install-mac.txt create mode 100644 misc/dist/install-win.txt create mode 100644 misc/dist/inter-ui.css delete mode 100644 misc/doc/hinted vs unhinted.txt delete mode 100644 misc/doc/install-mac.txt delete mode 100644 misc/doc/install-win.txt delete mode 100644 misc/doc/inter-ui.css (limited to 'misc') diff --git a/misc/dist/hinted vs unhinted.txt b/misc/dist/hinted vs unhinted.txt new file mode 100644 index 000000000..638b340d0 --- /dev/null +++ b/misc/dist/hinted vs unhinted.txt @@ -0,0 +1,18 @@ + +Inter UI font files comes in two versions: + +1. "unhinted" -- Without TrueType hints (the default) + +2. "hinted" -- With TrueType hints + + +The TrueType hints are used by ClearType on Windows machines where ClearType +is enabled. This usually changes the appearance of the fonts and can in some +cases increase the legibility of text. + +Additionally, hints are little computer programs that takes up considerable +disk space, meaning that font files with hints are larger than those without +hints. This might be a consideration when using web fonts. + +The hints for Inter UI are automatically generated by a program called +autohint. diff --git a/misc/dist/install-mac.txt b/misc/dist/install-mac.txt new file mode 100644 index 000000000..1fbb64c67 --- /dev/null +++ b/misc/dist/install-mac.txt @@ -0,0 +1,24 @@ + +Installing on macOS: + +1. Open the "Inter UI (OTF)" folder +2. Select all font files +3. Right-click (or ctrl-click) the selected files + and choose "Open with..." → "Font Book" +4. Press the "Install" button + +If you get any errors, like Font Book saying there're duplicate fonts, +cancel the installation and instead try the instructions below: + + +Installing on macOS, manually: + +1. Copy the "Inter UI (OTF)" folder +2. Press cmd-shift-G in Finder +3. Enter "~/Library/Fonts" into the dialog that shows up and press RETURN. +4. Paste the "Inter UI (OTF)" folder. + +If you have a previous installation of Inter UI, you should make sure to +remove those fonts files before installing new ones. + +See https://github.com/rsms/inter for more information diff --git a/misc/dist/install-win.txt b/misc/dist/install-win.txt new file mode 100644 index 000000000..9bff45889 --- /dev/null +++ b/misc/dist/install-win.txt @@ -0,0 +1,32 @@ + +Installing on Windows 10: + +1. Open the "Inter UI (OTF)" folder +2. Select all font files +3. Right-click the selected files and choose "Install" + + +Installing on Windows 10, manually: + +1. Double-click the downloaded zip file +2. Copy the "Inter UI (OTF)" folder +3. Press Win-Q on your keyboard, then type "fonts" and hit ENTER +4. Paste the "Inter UI (OTF)" folder. + +If you have a previous installation of Inter UI, you should make sure +to remove those fonts files before installing new ones. + + +ClearType-hinted fonts + + Inter UI also comes with a version that has TrueType hints used by ClearType + on Windows. This changes the appearance of the fonts when rendered on a + system with ClearType enabled and can in some cases increase the legibility + of text. However, the hints for Inter UI are automatically generated and are + not always a good thing. + + If you do prefer to use the version with hints, use the font files in the + folders with "hinted" in their name, like "Inter UI (TTF hinted)" + + +See https://github.com/rsms/inter for more information diff --git a/misc/dist/inter-ui.css b/misc/dist/inter-ui.css new file mode 100644 index 000000000..959802968 --- /dev/null +++ b/misc/dist/inter-ui.css @@ -0,0 +1,59 @@ +@font-face { + font-family: 'Inter UI'; + font-style: normal; + font-weight: 400; + src: url("Inter-UI-Regular.woff2") format("woff2"), + url("Inter-UI-Regular.woff") format("woff"); +} +@font-face { + font-family: 'Inter UI'; + font-style: italic; + font-weight: 400; + src: url("Inter-UI-Italic.woff2") format("woff2"), + url("Inter-UI-Italic.woff") format("woff"); +} + +@font-face { + font-family: 'Inter UI'; + font-style: normal; + font-weight: 500; + src: url("Inter-UI-Medium.woff2") format("woff2"), + url("Inter-UI-Medium.woff") format("woff"); +} +@font-face { + font-family: 'Inter UI'; + font-style: italic; + font-weight: 500; + src: url("Inter-UI-MediumItalic.woff2") format("woff2"), + url("Inter-UI-MediumItalic.woff") format("woff"); +} + +@font-face { + font-family: 'Inter UI'; + font-style: normal; + font-weight: 700; + src: url("Inter-UI-Bold.woff2") format("woff2"), + url("Inter-UI-Bold.woff") format("woff"); +} +@font-face { + font-family: 'Inter UI'; + font-style: italic; + font-weight: 700; + src: url("Inter-UI-BoldItalic.woff2") format("woff2"), + url("Inter-UI-BoldItalic.woff") format("woff"); +} + +@font-face { + font-family: 'Inter UI'; + font-style: normal; + font-weight: 900; + src: url("Inter-UI-Black.woff2") format("woff2"), + url("Inter-UI-Black.woff") format("woff"); +} +@font-face { + font-family: 'Inter UI'; + font-style: italic; + font-weight: 900; + src: url("Inter-UI-BlackItalic.woff2") format("woff2"), + url("Inter-UI-BlackItalic.woff") format("woff"); +} diff --git a/misc/doc/hinted vs unhinted.txt b/misc/doc/hinted vs unhinted.txt deleted file mode 100644 index 564e360cc..000000000 --- a/misc/doc/hinted vs unhinted.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Inter UI font files comes in two versions: - -1. Without TrueType hints (the default) - -2. With TrueType hints (folder with "hinted" in their name) - - -The TrueType hints are used by ClearType on Windows machines where ClearType -is enabled. This usually changes the appearance of the fonts and can in some -cases increase the legibility of text. - -However, the hints for Inter UI are automatically generated and are not always -a good thing. Additionally, hints are little computer programs that takes up -considerable disk space, meaning that font files with hints are larger than -those without hints. This might be a consideration when using web fonts. - diff --git a/misc/doc/install-mac.txt b/misc/doc/install-mac.txt deleted file mode 100644 index 1fbb64c67..000000000 --- a/misc/doc/install-mac.txt +++ /dev/null @@ -1,24 +0,0 @@ - -Installing on macOS: - -1. Open the "Inter UI (OTF)" folder -2. Select all font files -3. Right-click (or ctrl-click) the selected files - and choose "Open with..." → "Font Book" -4. Press the "Install" button - -If you get any errors, like Font Book saying there're duplicate fonts, -cancel the installation and instead try the instructions below: - - -Installing on macOS, manually: - -1. Copy the "Inter UI (OTF)" folder -2. Press cmd-shift-G in Finder -3. Enter "~/Library/Fonts" into the dialog that shows up and press RETURN. -4. Paste the "Inter UI (OTF)" folder. - -If you have a previous installation of Inter UI, you should make sure to -remove those fonts files before installing new ones. - -See https://github.com/rsms/inter for more information diff --git a/misc/doc/install-win.txt b/misc/doc/install-win.txt deleted file mode 100644 index 9bff45889..000000000 --- a/misc/doc/install-win.txt +++ /dev/null @@ -1,32 +0,0 @@ - -Installing on Windows 10: - -1. Open the "Inter UI (OTF)" folder -2. Select all font files -3. Right-click the selected files and choose "Install" - - -Installing on Windows 10, manually: - -1. Double-click the downloaded zip file -2. Copy the "Inter UI (OTF)" folder -3. Press Win-Q on your keyboard, then type "fonts" and hit ENTER -4. Paste the "Inter UI (OTF)" folder. - -If you have a previous installation of Inter UI, you should make sure -to remove those fonts files before installing new ones. - - -ClearType-hinted fonts - - Inter UI also comes with a version that has TrueType hints used by ClearType - on Windows. This changes the appearance of the fonts when rendered on a - system with ClearType enabled and can in some cases increase the legibility - of text. However, the hints for Inter UI are automatically generated and are - not always a good thing. - - If you do prefer to use the version with hints, use the font files in the - folders with "hinted" in their name, like "Inter UI (TTF hinted)" - - -See https://github.com/rsms/inter for more information diff --git a/misc/doc/inter-ui.css b/misc/doc/inter-ui.css deleted file mode 100644 index 959802968..000000000 --- a/misc/doc/inter-ui.css +++ /dev/null @@ -1,59 +0,0 @@ -@font-face { - font-family: 'Inter UI'; - font-style: normal; - font-weight: 400; - src: url("Inter-UI-Regular.woff2") format("woff2"), - url("Inter-UI-Regular.woff") format("woff"); -} -@font-face { - font-family: 'Inter UI'; - font-style: italic; - font-weight: 400; - src: url("Inter-UI-Italic.woff2") format("woff2"), - url("Inter-UI-Italic.woff") format("woff"); -} - -@font-face { - font-family: 'Inter UI'; - font-style: normal; - font-weight: 500; - src: url("Inter-UI-Medium.woff2") format("woff2"), - url("Inter-UI-Medium.woff") format("woff"); -} -@font-face { - font-family: 'Inter UI'; - font-style: italic; - font-weight: 500; - src: url("Inter-UI-MediumItalic.woff2") format("woff2"), - url("Inter-UI-MediumItalic.woff") format("woff"); -} - -@font-face { - font-family: 'Inter UI'; - font-style: normal; - font-weight: 700; - src: url("Inter-UI-Bold.woff2") format("woff2"), - url("Inter-UI-Bold.woff") format("woff"); -} -@font-face { - font-family: 'Inter UI'; - font-style: italic; - font-weight: 700; - src: url("Inter-UI-BoldItalic.woff2") format("woff2"), - url("Inter-UI-BoldItalic.woff") format("woff"); -} - -@font-face { - font-family: 'Inter UI'; - font-style: normal; - font-weight: 900; - src: url("Inter-UI-Black.woff2") format("woff2"), - url("Inter-UI-Black.woff") format("woff"); -} -@font-face { - font-family: 'Inter UI'; - font-style: italic; - font-weight: 900; - src: url("Inter-UI-BlackItalic.woff2") format("woff2"), - url("Inter-UI-BlackItalic.woff") format("woff"); -} -- cgit v1.2.3