Codechange: Pass language for font detection as std::string. (#10964)

This commit is contained in:
2023-06-06 21:55:56 +01:00
committed by GitHub
parent 7a0b6b7ddf
commit eda3defcb5
5 changed files with 14 additions and 19 deletions

View File

@@ -37,6 +37,6 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face);
* @param callback The function to call to check for missing glyphs.
* @return true if a font has been set, false otherwise.
*/
bool SetFallbackFont(struct FontCacheSettings *settings, const char *language_isocode, int winlangid, class MissingGlyphSearcher *callback);
bool SetFallbackFont(struct FontCacheSettings *settings, const std::string &language_isocode, int winlangid, class MissingGlyphSearcher *callback);
#endif