summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-text.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-05-07 07:38:37 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-05-07 07:38:37 +0000
commitd63f16a48bc41cca9afd6240e1e51cb77c389639 (patch)
tree135edf781dcd288503a29067b759a4dca4813ef4 /src/display/drawing-text.cpp
parentFix rendering for some SVG in OpenType fonts with glyphs that don't have a vi... (diff)
downloadinkscape-d63f16a48bc41cca9afd6240e1e51cb77c389639.tar.gz
inkscape-d63f16a48bc41cca9afd6240e1e51cb77c389639.zip
Add some documentation (Harfbuzz, OpenType SVG).
Diffstat (limited to 'src/display/drawing-text.cpp')
-rw-r--r--src/display/drawing-text.cpp4
1 files changed, 2 insertions, 2 deletions
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<DrawingGlyphs *>(&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);