font family slick

#include <iostream>
#include <SFML/Graphics.hpp>

int main() {
    // Create a window with a resolution of 800x600
    sf::RenderWindow window(sf::VideoMode(800, 600), "SFML Window");

    // Load the font from the system
    sf::Font font;
    if (!font.loadFromFile("path/to/slick.ttf")) {
        return EXIT_FAILURE;
    }

    // Create a text object
    sf::Text text("Hello, Slick Font!", font, 24);
    text.setFillColor(sf::Color::White);

    // Main loop
    while (window.isOpen()) {
        sf::Event event;
        while (window.pollEvent(event)) {
            if (event.type == sf::Event::Closed) {
                window.close();
            }
        }

        // Clear the window
        window.clear();

        // Draw the text
        window.draw(text);

        // Display the contents of the window
        window.display();
    }

    return EXIT_SUCCESS;
}