Figlet For C++
Explore the docs »
Report Bug
·
Request Feature
This is Figlet Library for C++ to generate Large text out of ordinary text like this,
_ _ _ _ ____
| | | | ___| | | ___ / ___| _ _
| |_| |/ _ \ | |/ _ \ | | _| |_ _| |_
| _ | __/ | | (_) | | |__|_ _|_ _|
|_| |_|\___|_|_|\___( ) \____||_| |_|
|/
This Project currently only works With ASCII Characters and it currently does not support Unicode Characters (at least flf font parser).
Starting with version 1.3.0 the library is no longer header-only But you generate the header file using quom and then you can use it in your project.
- Clone the repo from the GitHub
git clone https://github.com/srilakshmikanthanp/libfiglet.git
- Install the quom with pip
pip install --user quom
- Generate Include Files
quom .\src\srilakshmikanthanp\libfiglet.hpp .\dist\libfiglet.hpp
- Use the header file in your project
Usage of This Library is very easy a Hello C++ would be,
#include "libfiglet.hpp"
#include <iostream>
using namespace srilakshmikanthanp::libfiglet;
int main()
{
const figlet figlet(flf_font::make_shared("./path/to/font"), smushed::make_shared());
std::cout << figlet("Hello, C++");
}
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/srilakshmikanthanp/libfiglet