From 4c9d5ef55883fd94094371813f80cfef0befcf74 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 11 Sep 2008 21:44:48 +0000 Subject: convert almost all libnrtype to Geom:: (bzr r6793) --- src/widgets/font-selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/font-selector.cpp') diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp index 5c6aa35e7..577efe7c1 100644 --- a/src/widgets/font-selector.cpp +++ b/src/widgets/font-selector.cpp @@ -671,7 +671,7 @@ static gint sp_font_preview_expose(GtkWidget *widget, GdkEventExpose *event) hpos[len] = base_pt[0]; len++; if ( curF ) { - boost::optional nbbox = curF->BBox(str_text->glyph_text[i].gl); + boost::optional nbbox = curF->BBox(str_text->glyph_text[i].gl); if (nbbox) { bbox.x0 = MIN(bbox.x0, base_pt[Geom::X] + theSize * (nbbox->min())[0]); bbox.y0 = MIN(bbox.y0, base_pt[Geom::Y] - theSize * (nbbox->max())[1]); -- cgit v1.2.3