Truetype text display cost too much time
I make TopoDS_Face by the text outline based on FreeType. And I can distinguish which Faces are belong to text(the red in the picture) and which are the gap of the text(the green in the picture),the problem is :How to remove the gap Faces from the text faces? I use BRepAlgoAPI_Cut(),but it costs too much time.
PS.I use BRepBuilderAPI_MakeFace( aWire.Wire() ) to get all the faces, so the gap faces overlap part of the textfaces.