summaryrefslogtreecommitdiffstats
path: root/libass/ass_font.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2011-08-22 06:30:37 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2015-07-10 10:42:40 +0200
commit4f2309430ae2f8086e2b46a45fd4f264a2e0a668 (patch)
tree9d8ae2844f6a00be856e87dd560e1a7eee7a87ea /libass/ass_font.c
parent4803b0a7bc9fee78e9eafb7417fa20f9a21d675f (diff)
downloadlibass-4f2309430ae2f8086e2b46a45fd4f264a2e0a668.tar.bz2
libass-4f2309430ae2f8086e2b46a45fd4f264a2e0a668.tar.xz
Pass family name as path for memory fonts
This is a bit nicer because we can actually see which physical font has been selected for a certain logical font.
Diffstat (limited to 'libass/ass_font.c')
-rw-r--r--libass/ass_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_font.c b/libass/ass_font.c
index ce42781..1aa8fff 100644
--- a/libass/ass_font.c
+++ b/libass/ass_font.c
@@ -145,7 +145,7 @@ static int add_face(ASS_FontSelector *fontsel, ASS_Font *font, uint32_t ch)
index, &face);
if (error) {
ass_msg(font->library, MSGL_WARN,
- "Error opening memory font: '%s'", path);
+ "Error opening memory font: '%s' (size %d)", path, mem_font.len);
free(path);
return -1;
}