diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-02-13 17:53:21 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-02-13 22:05:12 +0000 |
commit | d4c73c65888e422f8b5d5c102ce80f4e82622bfb (patch) | |
tree | f9879093e06204e8e85842996dab3a91bd3df0e9 /win32 | |
parent | e9c534aee18fa86a61decb9f7c17b3d28ead94dc (diff) | |
download | mupdf-d4c73c65888e422f8b5d5c102ce80f4e82622bfb.tar.xz |
Add locking around freetype calls.
We only open one instance of freetype per document. We therefore
have to ensure that only 1 call to it takes place at a time. We
introduce a lock for this purpose (FZ_LOCK_FREETYPE), and arrange
to take/release it as required.
We also update the font context so it is properly shared.
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions