summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-09-11 21:44:48 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-09-11 21:44:48 +0000
commit4c9d5ef55883fd94094371813f80cfef0befcf74 (patch)
tree2705753419ba635ce155a5821b55ec481af19125 /src/widgets
parentMake tooltip reflect the correct range for calligraphy angle fixation (diff)
downloadinkscape-4c9d5ef55883fd94094371813f80cfef0befcf74.tar.gz
inkscape-4c9d5ef55883fd94094371813f80cfef0befcf74.zip
convert almost all libnrtype to Geom::
(bzr r6793)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/font-selector.cpp2
1 files changed, 1 insertions, 1 deletions
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<NR::Rect> nbbox = curF->BBox(str_text->glyph_text[i].gl);
+ boost::optional<Geom::Rect> 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]);