Gargoyle

From IFWiki

Revision as of 07:33, 27 November 2008 by Otto (talk | contribs) (→‎Links: added updated version on googlecode)

Gargoyle is a Glk API library for both the UNIX and MS-Windows operating systems. It was specially designed to optimize the typography of the I/O system. The author and maintainer is Tor Andersson.

The name Gargoyle is also used to refer to the set of interpreters (with a common front-end) which Andersson ported to use his Gargoyle library. The interpreters currently (as of August 2006) included in this set are:

  • for Alan games (v2 and v3):
    • ARUN 2.8(6)
    • ARUN 3.0alpha1
  • for Hugo games:
    • Hugo 3.1
  • for TADS 2 and TADS 3 games:
    • TADS 2.5.9/3.0.9
    • HTML TADS is not supported yet.

Specifics

Gargoyle is intended to care about typography, that is, to render the IF in a way most comfortable for reading. Features include specially chosen fonts, kerning, ligatures, text justification and many others. The options can be finetuned in the simple text file 'garglk.ini'; for example,using Notepad on MS Windows, the text justification can be turned on by changing the line containing:

justify		0	# 0=ragged-right 1=justified

to

justify		1	# 0=ragged-right 1=justified


See also: Spatterlight, a similar program for MacOS X.

Links