wangz's blog / Tags

一些正在使用的字体

1. 预览脚本

#!/usr/bin/env bash

font="$1"
preview="$(basename "$font" | sed 's/ /_/g')"
text="ABCDEFGHIJKLM\nNOPQRSTUVWXYZ\nabcdefghijklm\nnopqrstuvwxyz\n1234567890\n!@$\%(){}[]"
if [ "x$2" = "x-c" ]; then
    text="阏逢、旃蒙、柔兆、强圉、著雍\n屠维、上章、重光、玄黓、昭阳\n困敦、赤奋若、摄提格\n单阏、执徐、大荒落\n敦牂、协洽、涒滩\n作噩、阉茂、大渊献"
fi

touch "$preview" || exit 1

convert -size 800x600 \
        xc:#ffffff \
        -font "$font" \
        -pointsize 48 \
        -gravity center \
        -fill "#000000" \
        -annotate +0+0  \
        -flatten "$preview"

# preview_font $(fc-list | fzf | awk -F':' '{print $1}')

2. Alegreya   Serif

font-preview-Alegreya.png

3. Charter   Serif

font-preview-Charter.png

4. IBM Plex Mono   Mono Sans

font-preview-IBM_PLEX_MONO.png

5. Iosevka   Mono Sans

font-preview-iosevka-regular.png

6. Jetbrains Mono   Mono Sans

font-preview-JetBrainsMono-Regular.png

7. Literata   Serif

font-preview-Literata.png

8. LXGW WenKai   Serif CJK

font-preview-LXGWWenKai-Regular.png

9. Nimbus Sans L   Sans

font-preview-NimbusSansL.png

10. Noto Sans CJK SC   Sans CJK

font-preview-NotoSansCJK-Regular.png

11. Noto Sans Mono   Mono Sans

font-preview-NotoSansMono-Regular.png

12. Noto Serif CJK SC   Serif CJK

font-preview-NotoSerifCJK-Regular.png

13. Roboto   Sans

font-preview-Roboto-Regular.png

14. Roboto Mono   Mono Sans

font-preview-RobotoMono.png
Powered by Org-mode and a fork of org-static-blog