cfonts

Sexy fonts for the console

GPL-3.0 License

Downloads
583.7K
Stars
1.5K
Committers
10

Bot releases are hidden (Show)

cfonts - Latest Release

Published by dominikwilkowski 8 months ago

  • fixed lock file
cfonts - v1.1.3rust

Published by dominikwilkowski 8 months ago

  • Fixed #75
  • Updated dependencies
- terminal_size = "0.2.3"
+ terminal_size = "0.3"
  • Fixed some clippy suggestions
cfonts - v1.1.2rust

Published by dominikwilkowski about 1 year ago

Added LICENSE into the published version

cfonts - v1.1.1rust

Published by dominikwilkowski about 1 year ago

  • Updated dependencies
  • bumped terminal_size to 0.2.3
cfonts - v3.2.0 nodejs

Published by dominikwilkowski over 1 year ago

  • Added TS type to the published npm package
cfonts - v1.1.0 rust

Published by dominikwilkowski over 2 years ago

  • Added yellow to the supported gradient colors
cfonts - v3.1.1 nodejs

Published by dominikwilkowski over 2 years ago

  • Fixed #58 gradient color bug
  • added gray to gradient colors
cfonts - v1.0.4 rust

Published by dominikwilkowski over 2 years ago

  • Fixed NO_COLOR not being respected in help
  • Fixed color conversion rgb to ansi_256
cfonts - v1.0.3 rust

Published by dominikwilkowski over 2 years ago

  • Fixed NO_COLOR support when run without FORCE_COLOR
cfonts - v1.0.2 rust

Published by dominikwilkowski over 2 years ago

  • fixed flags for help and version when run without text
cfonts - v3.1.0 nodejs

Published by dominikwilkowski over 2 years ago

  • added the -V fallback flag for versions to comply with POSIX
cfonts - v1.0.1-rust

Published by dominikwilkowski over 2 years ago

  • Fixed loading of fonts
  • embedding now the font data into the binary
cfonts - v1.0.0-rust

Published by dominikwilkowski over 2 years ago

Cfonts has been re-built from scratch in rust and had it's nodejs app aligned to the more correct output that rust produced.

Nodejs

There are some minor changes to the node lib that warranted a new major release:

  • Change to license from GPLv2 to GPLv3+
  • letter-spacing is not appended anymore so the line ends at the last letter (which means more letters fit into a line)
  • Alignments are calculated now with ceil rather than floor which means half pixel are rounded up, not down
  • The console font now has it's own font file so we can re-use the same functionality and align across all fonts, also gives us more flexibility later if we want to make changes to the console font
  • Hex colors for background are now supported
  • The ANSI color system has been re-written from scratch giving us more flexibility and art-direction for when we have to convert 16 million colors to just 16
  • chalk as a dependency is removed and replaced with supports-color
  • The lower level ANSI16 colors now always render as ANSI16 and all other levels render depending on the current color support of the consuming console
  • The correct order of env var priority has been set and is being tested: FORCE_COLOR then NO_COLOR
  • letterspace_size has been added to each font file
  • Moved the nodejs implementation into it's own folder ./src -> ./nodejs/src

Rust

The rust implementation comes with a lot of tests as well as an end-to-end test that compares the output of the rust binary to the output of node which is also compared to a fixture. This test is run on three platforms (Linux, macOS and Windows) now with Github Actions.

cfonts - v3.0.0-nodejs

Published by dominikwilkowski over 2 years ago

Cfonts has been re-built from scratch in rust and had it's nodejs app aligned to the more correct output that rust produced.

Nodejs

There are some minor changes to the node lib that warranted a new major release:

  • Change to license from GPLv2 to GPLv3+
  • letter-spacing is not appended anymore so the line ends at the last letter (which means more letters fit into a line)
  • Alignments are calculated now with ceil rather than floor which means half pixel are rounded up, not down
  • The console font now has it's own font file so we can re-use the same functionality and align across all fonts, also gives us more flexibility later if we want to make changes to the console font
  • Hex colors for background are now supported
  • The ANSI color system has been re-written from scratch giving us more flexibility and art-direction for when we have to convert 16 million colors to just 16
  • chalk as a dependency is removed and replaced with supports-color
  • The lower level ANSI16 colors now always render as ANSI16 and all other levels render depending on the current color support of the consuming console
  • The correct order of env var priority has been set and is being tested: FORCE_COLOR then NO_COLOR
  • letterspace_size has been added to each font file
  • Moved the nodejs implementation into it's own folder ./src -> ./nodejs/src

Rust

The rust implementation comes with a lot of tests as well as an end-to-end test that compares the output of the rust binary to the output of node which is also compared to a fixture. This test is run on three platforms (Linux, macOS and Windows) now with Github Actions.

cfonts - v3.0.0

Published by dominikwilkowski over 2 years ago

Cfonts has been re-built from scratch in rust and had it's nodejs app aligned to the more correct output that rust produced.

Nodejs

There are some minor changes to the node lib that warranted a new major release:

  • Change to license from GPLv2 to GPLv3+
  • letter-spacing is not appended anymore so the line ends at the last letter (which means more letters fit into a line)
  • Alignments are calculated now with ceil rather than floor which means half pixel are rounded up, not down
  • The console font now has it's own font file so we can re-use the same functionality and align across all fonts, also gives us more flexibility later if we want to make changes to the console font
  • Hex colors for background are now supported
  • The ANSI color system has been re-written from scratch giving us more flexibility and art-direction for when we have to convert 16 million colors to just 16
  • chalk as a dependency is removed and replaced with supports-color
  • The lower level ANSI16 colors now always render as ANSI16 and all other levels render depending on the current color support of the consuming console
  • The correct order of env var priority has been set and is being tested: FORCE_COLOR then NO_COLOR
  • letterspace_size has been added to each font file
  • Moved the nodejs implementation into it's own folder ./src -> ./nodejs/src

Rust

The rust implementation comes with a lot of tests as well as an end-to-end test that compares the output of the rust binary to the output of node which is also compared to a fixture. This test is run on three platforms (Linux, macOS and Windows) now with Github Actions.

cfonts -

Published by dominikwilkowski about 3 years ago

  • bumped dependencies
  • added typescript definitions into npm bundle
cfonts -

Published by dominikwilkowski about 3 years ago

  • bumped dependencies
cfonts -

Published by dominikwilkowski over 3 years ago

  • bumped dependencies
cfonts -

Published by dominikwilkowski almost 4 years ago

  • bumped dependencies
cfonts -

Published by dominikwilkowski almost 4 years ago

  • Added top and bottom options to align
  • Updated dependencies
Package Rankings
Top 6.74% on Proxy.golang.org
Top 11.04% on Crates.io
Top 1.34% on Npmjs.org
Top 31.18% on Formulae.brew.sh