Google

/*
 * Get the current TrueType Font Encoding.
 *
 * Example:
 *   if ctx.encoding == Imlib2::Encoding::ISO_8859_1
 *     puts 'using ISO-8859-1 encoding'
 *   end
 *
 */
static VALUE ctx_encoding(VALUE self) {