projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
751c10e
)
[util] Better file-not-found error from hb-shape / hb-view
author
Ebrahim Byagowi
<ebrahim@gnu.org>
Thu, 18 Oct 2018 04:08:47 +0000
(07:38 +0330)
committer
GitHub
<noreply@github.com>
Thu, 18 Oct 2018 04:08:47 +0000
(07:38 +0330)
fixes #1266
util/options.cc
patch
|
blob
|
history
diff --git
a/util/options.cc
b/util/options.cc
index
26b0bd0
..
5661cd0
100644
(file)
--- 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);