v1 = tmp;
}
- // v1
- // / \
- // v3--v2
+ /*
+ v1
+ / \
+ v3--v2
+ */
int fromY = qMax(0, qCeil(v1->p.y));
int midY = qMin(height, qCeil(qMin(v2->p.y, v3->p.y)));
{
for (int i = 0; i < count; ++i) {
glyph_t glyphIndex = glyphs[i];
- if (glyphIndex >= glyphCount()) {
+ if ((int) glyphIndex >= glyphCount()) {
qWarning("Warning: distance-field glyph is not available with index %d", glyphIndex);
continue;
}