*** ../fluxus/src/PolyGlyph.cpp 2007-11-21 11:38:10.000000000 +0100 --- src/PolyGlyph.cpp 2007-11-21 11:44:22.000000000 +0100 *************** *** 31,38 **** if (i!=m_Cache.end()) { - glColor3f(r, g, b); - glCallList(i->second); glColor4f(1-r, 1-g, 1-b, 0.5); glCallList(i->second+1); } else --- 31,38 ---- if (i!=m_Cache.end()) { glColor4f(1-r, 1-g, 1-b, 0.5); glCallList(i->second+1); + glColor3f(r, g, b); + glCallList(i->second); } else *************** *** 46,64 **** BuildGeometry(m_Slot,*geo); - glNewList(glList, GL_COMPILE); - RenderGeometry(*geo); - glEndList(); - delete geo; - glNewList(glList+1, GL_COMPILE); RenderOutline(m_Slot); glTranslatef(m_Slot->metrics.horiAdvance,0,0); glEndList(); m_Cache[ch]=glList; - glColor3f(r, g, b); - glCallList(glList); glColor4f(1-r, 1-g, 1-b, 0.5); glCallList(glList+1); } } --- 46,64 ---- BuildGeometry(m_Slot,*geo); glNewList(glList+1, GL_COMPILE); RenderOutline(m_Slot); + glEndList(); + + glNewList(glList, GL_COMPILE); + RenderGeometry(*geo); glTranslatef(m_Slot->metrics.horiAdvance,0,0); glEndList(); + delete geo; m_Cache[ch]=glList; glColor4f(1-r, 1-g, 1-b, 0.5); glCallList(glList+1); + glColor3f(r, g, b); + glCallList(glList); } } *************** *** 166,169 **** --- 166,170 ---- { unsigned int start=0; + glLineWidth(5); for(int c=0; coutline.n_contours; c++) {