I had to do the attached in order to compile cvs

Index: src/insets/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v
retrieving revision 1.443
diff -u -p -r1.443 ChangeLog
--- src/insets/ChangeLog	12 Jun 2002 15:56:51 -0000	1.443
+++ src/insets/ChangeLog	13 Jun 2002 09:56:51 -0000
@@ -1,3 +1,7 @@
+2002-06-13  Edwin Leuven  <[EMAIL PROTECTED]>
+
+	* insetquotes.C: change lyxfont::draw to font_metrics::draw
+	
 2002-06-12  Vitaly Lipatov  <[EMAIL PROTECTED]>
 
 	* insetquotes.C (draw): fix drawing of double quotes
Index: src/insets/insetquotes.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetquotes.C,v
retrieving revision 1.67
diff -u -p -r1.67 insetquotes.C
--- src/insets/insetquotes.C	12 Jun 2002 15:56:51 -0000	1.67
+++ src/insets/insetquotes.C	13 Jun 2002 09:56:51 -0000
@@ -234,7 +234,7 @@ void InsetQuotes::draw(BufferView * bv, 
 
 	if (text.length() == 2 && text[0] == text[1]) {
 		bv->painter().text(int(x), baseline, text[0], font);
-		int x2 = int(x + lyxfont::width(',', font));
+		int x2 = int(x + font_metrics::width(',', font));
 		bv->painter().text(x2, baseline, text[0], font);
 	} else
 		bv->painter().text(int(x), baseline, text, font);


Reply via email to