Results 1 to 3 of 3

Thread: How to set clan::Font from clan::Sprite without xml

  1. #1

    Question How to set clan::Font from clan::Sprite without xml

    Hi all.

    Please explain how to build a clan::Font from clan::Sprite without xml. Is there such a possibility?

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Looking at https://github.com/sphair/ClanLib/bl...ont/font.h#L90
    Code:
    		Font(Canvas &canvas, const std::string &typeface_name, Sprite &sprite, const std::string &glyph_list, float spacelen, bool monospace, const FontMetrics &metrics);
    You can build the sprite without xml

  3. #3

    Red face

    Thank you
    a long time not used vs ))

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •