1/*---------------------------------------------------------------------------*
2 |              PDFlib - A library for generating PDF on the fly             |
3 +---------------------------------------------------------------------------+
4 | Copyright (c) 1997-2004 Thomas Merz and PDFlib GmbH. All rights reserved. |
5 +---------------------------------------------------------------------------+
6 |                                                                           |
7 |    This software is subject to the PDFlib license. It is NOT in the       |
8 |    public domain. Extended versions and commercial licenses are           |
9 |    available, please check http://www.pdflib.com.                         |
10 |                                                                           |
11 *---------------------------------------------------------------------------*/
12
13/* $Id: p_kerning.c 14574 2005-10-29 16:27:43Z bonefish $
14 *
15 * PDFlib kerning routines
16 *
17 */
18
19#include "p_intern.h"
20#include "p_font.h"
21#include "p_truetype.h"
22
23
24PDFLIB_API float PDFLIB_CALL
25PDF_get_kern_amount( PDF *p, int font, int firstchar, int secondchar)
26{
27    static const char fn[] = "PDF_get_kern_amount";
28
29    if (!pdf_enter_api(p, fn,
30        (pdf_state) (pdf_state_document | pdf_state_content | pdf_state_path),
31	"(p[%p], %d, %d, %d)", (void *) p, font, firstchar, secondchar))
32        return (float) 0;
33
34    pdc_warning(p->pdc, PDF_E_UNSUPP_KERNING, 0, 0, 0, 0);
35
36    return (float) 0;
37}
38
39