No description
Find a file
2024-09-22 17:47:09 +08:00
source add use_hinted config in cn #246 2024-09-14 15:51:38 +08:00
woff2/var add variable woff2 build 2024-08-24 20:42:30 +08:00
.gitattributes test gitattributes 2024-03-08 14:44:57 +08:00
.gitignore update gitignore 2024-09-11 16:18:58 +08:00
build.py fix zero width 2024-09-20 16:23:43 +08:00
build_base_nf.py extract utils and fix font Unique identifier 2024-09-11 16:10:40 +08:00
config.json add use_hinted config in cn #246 2024-09-14 15:51:38 +08:00
OFL.txt add source 2022-08-05 00:00:28 +08:00
README.md Update CN base font like 2024-09-22 17:47:09 +08:00

Note

When will V7 become stable?

It is almost stable now.

As a side project during my weekends, I will release a new beta version to fix the bugs reported or encountered in my daily coding within 1-2 weeks, and do some work on the new website and build tools.

If everything goes well, the stable version will be released later this year.

Maple Font (WIP)

Open source monospace & nerd font with round corner and ligatures.

Base on Jetbrains Mono and much "Opinioned"

Features

  • Round corner
  • New shape of @ $ % & Q a and cursive italic f i j k l x y
  • Large amount of ligatures
    • equal variants: == / === / != / !== / >= / <=...
    • arrow variants: -> / => / --> / ==> / <-> / <=>...
    • xml variants: </ / /> / <> / </> / <!--...
    • flow variants: |> / ||> / |||> / |||> / >=> / =>>...
    • same characters: ++ / -- / && / || / !! / ?? / .. / :: / ########...
    • plain text tag: [TODO] / todo)) / [FIXME] / fixme))
      • for logger: [TRACE] / [DEBUG] / [INFO] / [WARN] / [ERROR] / [FATAL]
  • Font features
    • zero: dot style 0
    • cv01: Classic @ / $ / & / Q / => / ->
    • cv02: Alternative a (with top alarm)
    • cv03: Alternative i (without bottom left bar)
    • cv04: Alternative l (with bottom left bar) and 1 (without bottom bar)
    • cv98: Full width (ellipsis) and (emdash) support for Maple Mono NF CN
    • cv99: Traditional punctuations support for Maple Mono NF CN
    • ss01: Non-cursive italic style l i j k x
    • ss02: Disable ligautures on equals like == / != / <=
    • ss03: Ignore cases on all tags
    • ss04: Disable ligatures on __, #__, ***, \n

Build

clone the repo and run in your local machine. Make sure you have python3 and pip installed

git clone https://github.com/subframe7536/maple-font --depth 1 -b variable
pip install foundrytools-cli
python build.py
  • for Ubuntu or Debian, maybe python-is-python3 is needed as well

If you have trouble to install the dependencies, just create a new Github codespace on variable branch and run the commands there

Customize

You can change build config in config.json

  • There is --normal option in build.py for common config, just like Jetbrains Mono (with slashed zero)
  • For custom font-patcher args, font-forge (and maybe python3-fontforge as well) is needed

Chinses version

  1. Download CN base font at Gitee release
  2. put them into ./source/cn
  3. run build.py and BE PATIENT, instantiation will take about 30 minutes

Release Build

python build.py --release

credit

License

SIL Open Font License 1.1