Our SVG font code picks the longest glyph that matches, when really it should be picking the first in document order. Fixing this requires changing the glyph map data structure.
This was fixed already.