+
+ /**
+ * @brief Caches font data for the specified font path if it is not already cached.
+ *
+ * If the font data is not already cached, this function will load the font file
+ * from disk and cache the data for future use.
+ *
+ * @param[in] fontPath The font path to cache the data for.
+ */
+ void CacheFontDataFromFile(const std::string& fontPath) const;
+
+ /**
+ * @brief Caches FreeType face for the specified font path if it is not already cached.
+ *
+ * If the font face is not already cached, this function will perform the new face
+ * from font file and cache the face for future use.
+ *
+ * @param[in] fontPath The font path to cache the face for.
+ */
+ void CacheFontFaceFromFile(const std::string& fontPath) const;
+