To create a context, use fz_new_context:
For example, a simple, single threaded program using the standard allocator can just use: