Inexact Subgraph Matching Applied to Symbol Spotting in Graphical Documents