summaryrefslogtreecommitdiff
path: root/util/options.cc
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2018-10-18 07:38:47 +0330
committerGitHub <noreply@github.com>2018-10-18 07:38:47 +0330
commiteeddda3ec6c28b411d33c74938ec6198c7f6888d (patch)
tree5855cc36a27f976e73f1b9b99b2b30a06d771470 /util/options.cc
parent751c10e55e43e2266a5bba024d560c5127fae4b8 (diff)
downloadharfbuzz-eeddda3ec6c28b411d33c74938ec6198c7f6888d.tar.gz
[util] Better file-not-found error from hb-shape / hb-view
fixes #1266
Diffstat (limited to 'util/options.cc')
-rw-r--r--util/options.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/options.cc b/util/options.cc
index 26b0bd0a..5661cd05 100644
--- a/util/options.cc
+++ b/util/options.cc
@@ -660,7 +660,7 @@ font_options_t::get_font (void) const
blob = hb_blob_create_from_file (font_path);
if (blob == hb_blob_get_empty ())
- fail (false, "No such file or directory");
+ fail (false, "Couldn't read or find %s, or it was empty.", font_path);
/* Create the face */
hb_face_t *face = hb_face_create (blob, face_index);