diff --git a/content/posts/2024-11-10-some-free-fonts-that-i-like/index.en.md b/content/posts/2024-11-10-some-free-fonts-that-i-like/index.en.md new file mode 100644 index 0000000..7d50bfa --- /dev/null +++ b/content/posts/2024-11-10-some-free-fonts-that-i-like/index.en.md @@ -0,0 +1,56 @@ ++++ +title = 'Some free fonts that I like' +date = 2024-11-10T14:16:31+08:00 +tags = ['Fonts'] ++++ + +### Sans Serif + +| Font | Website | Google Fonts | +| ------------- | ------------------------------------------ | ----------------------------------------------- | +| Fira Sans | https://mozilla.github.io/Fira/ | https://fonts.google.com/specimen/Fira+Sans | +| Geist | https://vercel.com/font | https://fonts.google.com/specimen/Geist | +| IBM Plex Sans | https://www.ibm.com/plex/ | https://fonts.google.com/specimen/IBM+Plex+Sans | +| Inter | https://github.com/rsms/inter | https://fonts.google.com/specimen/Inter | +| Source Sans 3 | https://adobe-fonts.github.io/source-sans/ | https://fonts.google.com/specimen/Source+Sans+3 | + +### Serif + +| Font | Website | Google Fonts | +| -------------- | ------------------------------------------- | ------------------------------------------------ | +| IBM Plex Serif | https://www.ibm.com/plex/ | https://fonts.google.com/specimen/IBM+Plex+Serif | +| Source Serif 4 | https://adobe-fonts.github.io/source-serif/ | https://fonts.google.com/specimen/Source+Serif+4 | + +### Monospace + +| Font | Website | Google Fonts | +| --------------- | ----------------------------------------------------------- | ------------------------------------------------- | +| Anonymous Pro | https://www.marksimonson.com/fonts/view/anonymous-pro/ | https://fonts.google.com/specimen/Anonymous+Pro | +| Azeret Mono | https://displaay.net/typeface/azeret/azeret-mono/ | https://fonts.google.com/specimen/Azeret+Mono | +| Carbona | https://fonts.adobe.com/fonts/carbona-variable | N/A | +| Cascadia Code | https://adobe-fonts.github.io/source-code-pro/ | N/A | +| Fira Code | https://github.com/tonsky/FiraCode | https://fonts.google.com/specimen/Fira+Code | +| Fira Mono | https://mozilla.github.io/Fira/ | https://fonts.google.com/specimen/Fira+Mono | +| Geist Mono | https://vercel.com/font | https://fonts.google.com/specimen/Geist+Mono | +| IBM Plex Mono | https://www.ibm.com/plex/ | https://fonts.google.com/specimen/IBM+Plex+Mono | +| Iosekva | https://typeof.net/Iosevka/ | N/A | +| JetBrains Mono | https://www.jetbrains.com/lp/mono/ | https://fonts.google.com/specimen/JetBrains+Mono | +| Source Code Pro | https://adobe-fonts.github.io/source-code-pro/ | https://fonts.google.com/specimen/Source+Code+Pro | +| Space Grotesk | https://floriankarsten.github.io/space-grotesk/ | https://fonts.google.com/specimen/Space+Grotesk | +| Space Mono | https://www.colophon-foundry.org/custom-projects/space-mono | https://fonts.google.com/specimen/Space+Mono | + +### CJK + +| Font | Website | Google Fonts | +| --------------- | ------------------------------------------------------------------------------ | --------------------------------------------------- | +| Source Han [^1] | https://fonts.adobe.com/fonts/source-han-sans-simplified-chinese#fonts-section | https://fonts.google.com/noto/specimen/Noto+Sans+SC | + +[^1]: + Source Han shares the same set of glyphs with Noto Sans CJK and Sarasa Gothic, so the rest are not mentioned. + There's ALSO IBM Plex JP, but I'm not sure if it shares the same set of glyphs with Source Han. + +### Emoji + +| Font | Website | Google Fonts | +| ---------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| Noto Color Emoji | https://fonts.google.com/noto/specimen/Noto+Color+Emoji | https://fonts.google.com/noto/specimen/Noto+Color+Emoji | diff --git a/content/posts/2024-11-10-some-free-fonts-that-i-like/index.zh-cn.md b/content/posts/2024-11-10-some-free-fonts-that-i-like/index.zh-cn.md new file mode 100644 index 0000000..10092ab --- /dev/null +++ b/content/posts/2024-11-10-some-free-fonts-that-i-like/index.zh-cn.md @@ -0,0 +1,54 @@ ++++ +title = '一些我喜欢的免费字体' +date = 2024-11-10T14:16:31+08:00 +tags = ['字体'] ++++ + +### 无衬线 / 黑体 + +| 字体 | 网站 | Google Fonts | +| ------------- | ------------------------------------------ | ----------------------------------------------- | +| Fira Sans | https://mozilla.github.io/Fira/ | https://fonts.google.com/specimen/Fira+Sans | +| Geist | https://vercel.com/font | https://fonts.google.com/specimen/Geist | +| IBM Plex Sans | https://www.ibm.com/plex/ | https://fonts.google.com/specimen/IBM+Plex+Sans | +| Inter | https://github.com/rsms/inter | https://fonts.google.com/specimen/Inter | +| Source Sans 3 | https://adobe-fonts.github.io/source-sans/ | https://fonts.google.com/specimen/Source+Sans+3 | + +### 衬线 / 宋体 / 明体 + +| 字体 | 网站 | Google Fonts | +| -------------- | ------------------------------------------- | ------------------------------------------------ | +| IBM Plex Serif | https://www.ibm.com/plex/ | https://fonts.google.com/specimen/IBM+Plex+Serif | +| Source Serif 4 | https://adobe-fonts.github.io/source-serif/ | https://fonts.google.com/specimen/Source+Serif+4 | + +### 等宽 + +| 字体 | 网站 | Google Fonts | +| --------------- | ----------------------------------------------------------- | ------------------------------------------------- | +| Anonymous Pro | https://www.marksimonson.com/fonts/view/anonymous-pro/ | https://fonts.google.com/specimen/Anonymous+Pro | +| Azeret Mono | https://displaay.net/typeface/azeret/azeret-mono/ | https://fonts.google.com/specimen/Azeret+Mono | +| Carbona | https://fonts.adobe.com/fonts/carbona-variable | N/A | +| Cascadia Code | https://adobe-fonts.github.io/source-code-pro/ | N/A | +| Fira Code | https://github.com/tonsky/FiraCode | https://fonts.google.com/specimen/Fira+Code | +| Fira Mono | https://mozilla.github.io/Fira/ | https://fonts.google.com/specimen/Fira+Mono | +| Geist Mono | https://vercel.com/font | https://fonts.google.com/specimen/Geist+Mono | +| IBM Plex Mono | https://www.ibm.com/plex/ | https://fonts.google.com/specimen/IBM+Plex+Mono | +| Iosekva | https://typeof.net/Iosevka/ | N/A | +| JetBrains Mono | https://www.jetbrains.com/lp/mono/ | https://fonts.google.com/specimen/JetBrains+Mono | +| Source Code Pro | https://adobe-fonts.github.io/source-code-pro/ | https://fonts.google.com/specimen/Source+Code+Pro | +| Space Grotesk | https://floriankarsten.github.io/space-grotesk/ | https://fonts.google.com/specimen/Space+Grotesk | +| Space Mono | https://www.colophon-foundry.org/custom-projects/space-mono | https://fonts.google.com/specimen/Space+Mono | + +### 汉字 + +| 字体 | 网站 | Google Fonts | +| ------------- | ------------------------------------------------------------------------------ | --------------------------------------------------- | +| 思源黑体 [^1] | https://fonts.adobe.com/fonts/source-han-sans-simplified-chinese#fonts-section | https://fonts.google.com/noto/specimen/Noto+Sans+SC | + +[^1]: 思源黑体与 Noto Sans CJK 共用同一套字形,故不赘述后者。 + +### Emoji + +| 字体 | 网站 | Google Fonts | +| ---------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| Noto Color Emoji | https://fonts.google.com/noto/specimen/Noto+Color+Emoji | https://fonts.google.com/noto/specimen/Noto+Color+Emoji | diff --git a/flake.lock b/flake.lock index da608d3..e20ac4b 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1724999960, - "narHash": "sha256-LB3jqSGW5u1ZcUcX6vO/qBOq5oXHlmOCxsTXGMEitp4=", + "lastModified": 1730958623, + "narHash": "sha256-JwQZIGSYnRNOgDDoIgqKITrPVil+RMWHsZH1eE1VGN0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b96f849e725333eb2b1c7f1cb84ff102062468ba", + "rev": "85f7e662eda4fa3a995556527c87b2524b691933", "type": "github" }, "original": { @@ -66,11 +66,11 @@ ] }, "locked": { - "lastModified": 1724833132, - "narHash": "sha256-F4djBvyNRAXGusJiNYInqR6zIMI3rvlp6WiKwsRISos=", + "lastModified": 1730321837, + "narHash": "sha256-vK+a09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/+maI=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "3ffd842a5f50f435d3e603312eefa4790db46af5", + "rev": "746901bb8dba96d154b66492a29f5db0693dbfcc", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index e01d1e0..bd688f3 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,8 @@ packages = with pkgs; [ hugo go + + nodePackages.prettier ]; }; } diff --git a/treefmt.nix b/treefmt.nix index e22d459..695f382 100644 --- a/treefmt.nix +++ b/treefmt.nix @@ -1,14 +1,11 @@ { projectRootFile = "flake.nix"; - ### nix - programs.deadnix.enable = true; - programs.nixfmt.enable = true; - programs.statix.enable = true; - - ### toml - programs.taplo.enable = true; - - ### misc - programs.prettier.enable = true; + programs = { + deadnix.enable = true; + nixfmt.enable = true; + prettier.enable = true; + statix.enable = true; + taplo.enable = true; + }; }