3 * \file xfont_metrics.h
4 * Copyright 1995-2002 the LyX Team
5 * Read the file COPYING
8 * \author John Levon <moz@compsoc.man.ac.uk>
11 #ifndef XFONT_METRICS_H
12 #define XFONT_METRICS_H
20 #include "font_metrics.h"
26 namespace xfont_metrics {
27 int XTextWidth(LyXFont const & f, char const * str, int count);
29 int width(XChar2b const * s, int n, LyXFont const & f);
31 int XTextWidth16(LyXFont const & f, XChar2b const * str, int count);
33 void XSetFont(Display * display, GC gc, LyXFont const & f);
34 } // namespace xfont_metrics
36 #endif // FONT_METRICS_H