On Mon, 07 Mar 2016 14:08:33 +0000
Richard Shann <[email protected]> wrote:

> When built using various package building rules Denemo issues error
> messages at run time:
> 
> Denemo - WARNING : Failed to add font dir /usr/share/denemo/fonts.
> Denemo - CRITICAL: Could not find feta.ttf
> Denemo - CRITICAL: Could not find Denemo.ttf
> Denemo - CRITICAL: Could not find emmentaler.ttf
> 
> these appear to be misleading as all is well.

A simple strace|grep feta.ttf shows:

stat("/usr/share/fonts/denemo/feta.ttf", {st_mode=S_IFREG|0644, st_size=26848, 
...}) = 0
stat("/home/jv/.fonts/truetype/denemo/feta.ttf", {st_mode=S_IFREG|0644, 
st_size=26848, ...}) = 0
access("/builddir/build/BUILD/denemo-2.0.4/fonts/feta.ttf", F_OK) = -1 ENOENT 
(No such file or directory)
access("/usr/bin/../fonts/feta.ttf", F_OK) = -1 ENOENT (No such file or 
directory)
access("/home/jv/.denemo-2.0.4/fonts/feta.ttf", F_OK) = -1 ENOENT (No such file 
or directory)
access("/usr/share/denemo/fonts/feta.ttf", F_OK) = -1 ENOENT (No such file or 
directory)
access("/usr/bin/../share/fonts/truetype/denemo/feta.ttf", F_OK) = -1 ENOENT 
(No such file or directory)
write(2, "Could not find feta.ttf\n", 24
access("/usr/share/fonts/denemo/feta.ttf", R_OK) = 0
open("/usr/share/fonts/denemo/feta.ttf", O_RDONLY) = 20

So first it complains about not being able to load the fonts, and then it
loads them from the installed location.

_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to