Skip to content

Commit

Permalink
Update documentation #178
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage committed Sep 18, 2024
1 parent a397d5b commit 10d9401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/lunasvg.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ LUNASVG_API const char* lunasvg_version_string(void);

/**
* @brief Add a font face from a file to the cache.
* @param family The name of the font family.
* @param family The name of the font family. If an empty string is provided, the font will act as a fallback.
* @param bold Use `true` for bold, `false` otherwise.
* @param italic Use `true` for italic, `false` otherwise.
* @param filename The path to the font file.
Expand All @@ -111,7 +111,7 @@ LUNASVG_API bool lunasvg_add_font_face_from_file(const char* family, bool bold,

/**
* @brief Add a font face from memory to the cache.
* @param family The name of the font family.
* @param family The name of the font family. If an empty string is provided, the font will act as a fallback.
* @param bold Use `true` for bold, `false` otherwise.
* @param italic Use `true` for italic, `false` otherwise.
* @param data A pointer to the memory buffer containing the font data.
Expand Down

0 comments on commit 10d9401

Please sign in to comment.