diff -Nur lasi-1.0.5/src/drawGlyph.cpp lasi-1.0.5.new/src/drawGlyph.cpp --- lasi-1.0.5/src/drawGlyph.cpp 2006-05-01 20:05:55.000000000 +0200 +++ lasi-1.0.5.new/src/drawGlyph.cpp 2006-06-03 15:12:27.377345856 +0200 @@ -81,7 +81,7 @@ return 0; } -static int moveTo(FT_Vector* pftVec, void* data) { +static int moveTo(const FT_Vector* pftVec, void* data) { StateOfDrawGlyph* const state = reinterpret_cast(data); state->os() << (state->isNewPath() ? "newpath" : "closepath") << endl; state->setNewPathFalse(); @@ -89,19 +89,19 @@ return 0; } -static int lineTo(FT_Vector* pftVec, void* data) { +static int lineTo(const FT_Vector* pftVec, void* data) { xTo(pftVec, data, "lineto"); return 0; } -static int cubicTo(FT_Vector* ctrlPt1, FT_Vector* ctrlPt2, FT_Vector* pEndPt, void* data) { +static int cubicTo(const FT_Vector* ctrlPt1, const FT_Vector* ctrlPt2, const FT_Vector* pEndPt, void* data) { StateOfDrawGlyph* const state = reinterpret_cast(data); state->os() << *ctrlPt1 << " " << *ctrlPt2 << " " << *pEndPt << " curveto" << endl; state->setStartPt(*pEndPt); return 0; } -static int conicTo(FT_Vector* pCtrlPt, FT_Vector* pEndPt, void* data) { +static int conicTo(const FT_Vector* pCtrlPt, const FT_Vector* pEndPt, void* data) { StateOfDrawGlyph* const state = reinterpret_cast(data); FT_Vector ctrlPt1 = (state->startPt() + 2 * *pCtrlPt) / 3; FT_Vector ctrlPt2 = (*pEndPt + 2 * *pCtrlPt) / 3;