summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-15 20:24:04 +0100
committerwm4 <wm4@nowhere>2014-11-15 20:24:04 +0100
commit5d654cff0a2e27e1610ba2356efa703dcdfd297f (patch)
tree0c42e8e5573a15544f6a2d71c258d742d1885e10
parent257465d793eae8ef93d98233542746df2b2b0b71 (diff)
downloadlibass-5d654cff0a2e27e1610ba2356efa703dcdfd297f.tar.bz2
libass-5d654cff0a2e27e1610ba2356efa703dcdfd297f.tar.xz
Print debug message when loading a memory font
-rw-r--r--libass/ass_fontconfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c
index fc564cc..c44e4de 100644
--- a/libass/ass_fontconfig.c
+++ b/libass/ass_fontconfig.c
@@ -392,6 +392,8 @@ static void process_fontdata(FCInstance *priv, ASS_Library *library,
int face_index, num_faces = 1;
for (face_index = 0; face_index < num_faces; ++face_index) {
+ ass_msg(library, MSGL_V, "Adding memory font '%s'", name);
+
rc = FT_New_Memory_Face(ftlibrary, (unsigned char *) data,
data_size, face_index, &face);
if (rc) {