diff options
| author | Ted Gould <ted@gould.cx> | 2006-02-06 05:38:08 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2006-02-06 05:38:08 +0000 |
| commit | 1d97567299259f4ceaea8ff51de359dc74b49578 (patch) | |
| tree | 5d4da9bec137ed8edc1e1e25faa068645a3c67a5 /src/libnrtype | |
| parent | DBL_MIN replaced by -DBL_MAX which is what I meant all along. (diff) | |
| download | inkscape-1d97567299259f4ceaea8ff51de359dc74b49578.tar.gz inkscape-1d97567299259f4ceaea8ff51de359dc74b49578.zip | |
(bzr r90)
Diffstat (limited to 'src/libnrtype')
| -rwxr-xr-x | src/libnrtype/Layout-TNG-Output.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index bdcc6cf3f..b6249248b 100755 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -87,11 +87,11 @@ void Layout::getBoundingBox(NRRect *bounding_box, NR::Matrix const &transform, i { for (unsigned glyph_index = 0 ; glyph_index < _glyphs.size() ; glyph_index++) { if (_characters[_glyphs[glyph_index].in_character].in_glyph == -1) continue; - if (start != -1 && (int) _glyphs[glyph_index].in_character < start) continue; + if (start != -1 && _glyphs[glyph_index].in_character < start) continue; if (length != -1) { if (start == -1) start = 0; - if ((int) _glyphs[glyph_index].in_character > start + length) continue; + if (_glyphs[glyph_index].in_character > start + length) continue; } // this could be faster NRMatrix glyph_matrix; |
