diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-05-06 11:43:14 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-05-06 11:43:14 +0000 |
| commit | 5e59ab63356c4c1d1575e7b0748c913b5a59bbf5 (patch) | |
| tree | c2947295e676484c7cf44940dfec758fc019b102 /src/libnrtype | |
| parent | Add basic SVG in OpenType support. (diff) | |
| download | inkscape-5e59ab63356c4c1d1575e7b0748c913b5a59bbf5.tar.gz inkscape-5e59ab63356c4c1d1575e7b0748c913b5a59bbf5.zip | |
Possibly fix build on Windows.
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/OpenTypeUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnrtype/OpenTypeUtil.cpp b/src/libnrtype/OpenTypeUtil.cpp index eb2c22256..185d11004 100644 --- a/src/libnrtype/OpenTypeUtil.cpp +++ b/src/libnrtype/OpenTypeUtil.cpp @@ -371,11 +371,11 @@ void readOpenTypeSVGTable(const FT_Face ft_face, // << " Offset: " << offsetGlyph << " Length: " << lengthGlyph << std::endl; std::string svg; - for (unsigned c = offsetGlyph; c < offsetGlyph + lengthGlyph; ++c) { + for (unsigned int c = offsetGlyph; c < offsetGlyph + lengthGlyph; ++c) { svg += (char) data[offset + c]; } - for (uint i = startGlyphID; i < endGlyphID+1; ++i) { + for (unsigned int i = startGlyphID; i < endGlyphID+1; ++i) { glyphs[i].svg = svg; } |
