Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Remove unused variable.

Wolthera van Hövell tot Westerflier8647825d3233
diff --git a/libs/flake/text/KoSvgTextShape_p_glyphs.cpp b/libs/flake/text/KoSvgTextShape_p_glyphs.cpp
index 3141f65e23..dbf790a8bb 100644
--- a/libs/flake/text/KoSvgTextShape_p_glyphs.cpp
+++ b/libs/flake/text/KoSvgTextShape_p_glyphs.cpp
@@ -496,7 +496,6 @@ bool KoSvgTextShape::Private::loadGlyph(const KoSvgText::ResolutionHandler &resH
std::tie(glyphObliqueTf, bitmapScale) = loadGlyphOnly(ftTF, faceLoadFlags, isHorizontal, currentGlyph, charResult, rendering);
if (charResult.visualIndex == -1) {
- hb_font_t_sp font(hb_ft_font_create_referenced(currentGlyph.ftface));
CursorInfo cursorInfo = charResult.cursorInfo;
qreal lineHeight = (charResult.metrics.ascender-charResult.metrics.descender) * bitmapScale;
qreal descender = charResult.metrics.descender * bitmapScale;