summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-01-22 12:00:55 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-22 12:00:55 +0100
commitf501211e904d2c01e47b03e774ffc6f93faeae25 (patch)
treeaa13c9d28c17e3dbb73459ccf7c6a8ca6c3906e4 /source/fitz
parentb31c7d1559125b5a0c596e52d632c70e48c506cf (diff)
downloadmupdf-f501211e904d2c01e47b03e774ffc6f93faeae25.tar.xz
epub: Implement @font-face rules.
Note: font->fallback is not reference counted here. The fallback mechanism is probably going to have to change when we add text shaping.
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/font.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c
index bdfee584..792e8d95 100644
--- a/source/fitz/font.c
+++ b/source/fitz/font.c
@@ -120,8 +120,6 @@ fz_drop_font(fz_context *ctx, fz_font *font)
if (!fz_drop_imp(ctx, font, &font->refs))
return;
- fz_drop_font(ctx, font->fallback);
-
if (font->t3lists)
{
free_resources(ctx, font);