summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/font.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-06-21 18:14:02 +0100
committerRobin Watts <Robin.Watts@artifex.com>2017-06-29 16:36:01 +0100
commit6370e358b5a32c8866be28e2dd1cc80f2be37e8f (patch)
tree5de55b26c6f42370679aa3136f64c5f6e0b0963e /include/mupdf/fitz/font.h
parent460709048cdaa40fd97c59969fee1cecbebd9767 (diff)
downloadmupdf-6370e358b5a32c8866be28e2dd1cc80f2be37e8f.tar.xz
Harfbuzz tweaks.
Avoid defining any functions/variables beginning with hb_ to avoid potential namespace clashes. Clarify language about why the Harfbuzz workarounds are needed.
Diffstat (limited to 'include/mupdf/fitz/font.h')
-rw-r--r--include/mupdf/fitz/font.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h
index c47702be..a6e172a1 100644
--- a/include/mupdf/fitz/font.h
+++ b/include/mupdf/fitz/font.h
@@ -606,16 +606,16 @@ void fz_get_glyph_name(fz_context *ctx, fz_font *font, int glyph, char *buf, int
*/
/*
- hb_lock: Lock against Harfbuzz being called
+ fz_hb_lock: Lock against Harfbuzz being called
simultaneously in several threads. This reuses
FZ_LOCK_FREETYPE.
*/
-void hb_lock(fz_context *ctx);
+void fz_hb_lock(fz_context *ctx);
/*
- hb_unlock: Unlock after a Harfbuzz call. This reuses
+ fz_hb_unlock: Unlock after a Harfbuzz call. This reuses
FZ_LOCK_FREETYPE.
*/
-void hb_unlock(fz_context *ctx);
+void fz_hb_unlock(fz_context *ctx);
#endif