diff --git a/src/font_file_lister_coretext.mm b/src/font_file_lister_coretext.mm index dbe6589d2..f6b35d9f1 100644 --- a/src/font_file_lister_coretext.mm +++ b/src/font_file_lister_coretext.mm @@ -45,7 +45,7 @@ void process_font(CollectionResult& ret, NSFontDescriptor *font, int bold, bool } } - ret.paths.push_back(url.absoluteString.UTF8String); + ret.paths.push_back(url.fileSystemRepresentation); } }