+ }
+ }
+
+ if (tag.HasParam(wxT("FACE"))) {
+ if (m_Faces.GetCount() == 0) {
+ wxFontEnumerator enu;
+ enu.EnumerateFacenames();
+ m_Faces = *enu.GetFacenames();
+ }
+ wxStringTokenizer tk(tag.GetParam(wxT("FACE")), ",");
+ int index;
+
+ while (tk.HasMoreTokens())
+ if ((index = m_Faces.Index(tk.GetNextToken())) != wxNOT_FOUND) {
+ m_WParser -> SetFontFace(m_Faces[index]);
+ m_WParser -> GetContainer() -> InsertCell(new wxHtmlFontCell(m_WParser -> CreateCurrentFont()));
+ break;
+ }