added support for getting ascent/descent size info for ps fonts -- Peter Speck
[rrdtool.git] / src / rrd_afm.h
index 3981c73..6a59318 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * RRDtool 1.2rc5  Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.2.4  Copyright by Tobi Oetiker, 1997-2005
  ****************************************************************************
  * rrd_afm.h  Parsing afm tables to find width of strings.
  ****************************************************************************/
@@ -12,6 +12,9 @@
 double afm_get_text_width ( double start, const char* font, double size,
                            double tabwidth, const char* text);
 
+double afm_get_ascender(const char* font, double size);
+double afm_get_descender(const char* font, double size);
+
 /* get postscript name from fullname or postscript name */
 const char *afm_get_font_postscript_name ( const char* font);