3 * \file xfont_metrics.h
4 * Read the file COPYING
9 * Full author contact details are available in file CREDITS
12 #ifndef XFONT_METRICS_H
13 #define XFONT_METRICS_H
21 #include "font_metrics.h"
27 namespace xfont_metrics {
28 int XTextWidth(LyXFont const & f, char const * str, int count);
30 int width(XChar2b const * s, int n, LyXFont const & f);
32 int XTextWidth16(LyXFont const & f, XChar2b const * str, int count);
34 void XSetFont(Display * display, GC gc, LyXFont const & f);
35 } // namespace xfont_metrics
37 #endif // FONT_METRICS_H