3 * \file xfont_metrics.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS
13 #ifndef XFONT_METRICS_H
14 #define XFONT_METRICS_H
22 #include "font_metrics.h"
28 namespace xfont_metrics {
29 int XTextWidth(LyXFont const & f, char const * str, int count);
31 int width(XChar2b const * s, int n, LyXFont const & f);
33 int XTextWidth16(LyXFont const & f, XChar2b const * str, int count);
35 void XSetFont(Display * display, GC gc, LyXFont const & f);
36 } // namespace xfont_metrics
38 #endif // FONT_METRICS_H