summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite2/gr2test.c
blob: 20b7965fb499f6b3646f3f022a5967dbe6804153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* gr2test.c: Basic test for libgraphite2
 *
 * Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
 * You may freely use, modify and/or distribute this file.
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <graphite2/Font.h>

int main (int argc, char **argv)
{
  int nMajor, nMinor, nBugFix;

  gr_engine_version(&nMajor, &nMinor, &nBugFix);
  printf ("%s: using Graphite2 version %d.%d.%d\n", argv[0], nMajor, nMinor, nBugFix);
  return 0;
}