From d63f16a48bc41cca9afd6240e1e51cb77c389639 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Tue, 7 May 2019 09:38:37 +0200 Subject: Add some documentation (Harfbuzz, OpenType SVG). --- src/display/drawing-text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/display/drawing-text.cpp') diff --git a/src/display/drawing-text.cpp b/src/display/drawing-text.cpp index b92886691..ab75026b7 100644 --- a/src/display/drawing-text.cpp +++ b/src/display/drawing-text.cpp @@ -575,7 +575,7 @@ unsigned DrawingText::_renderItem(DrawingContext &dc, Geom::IntRect const &/*are dc.newPath(); // Clear text-decoration path } - // accumulate the path that represents the glyphs + // Accumulate the path that represents the glyphs and/or draw SVG glyphs. for (auto & i : _children) { DrawingGlyphs *g = dynamic_cast(&i); if (!g) throw InvalidItemException(); @@ -615,7 +615,7 @@ unsigned DrawingText::_renderItem(DrawingContext &dc, Geom::IntRect const &/*are } } - // Draw the glyphs. + // Draw the glyphs (non-SVG glyphs). { Inkscape::DrawingContext::Save save(dc); dc.transform(_ctm); -- cgit v1.2.3