I think something like `font_name(font_file)` could replace this rather long-ish expression. And if I understand correctly `font_file is actually a file_path :-)