diff --git a/src/marker.cpp b/src/marker.cpp index 557f8fb73..e653aed0a 100644 --- a/src/marker.cpp +++ b/src/marker.cpp @@ -141,7 +141,7 @@ double marker::height() const if (is_bitmap()) return (*bitmap_data_)->height(); else if (is_vector()) - return (*vector_data_)->height(); + return (*vector_data_)->bounding_box().height(); return 0; }