As far as the device texts are concerned, italic and bold information is indeed to be held by TextStyle.
But in case of the glyph texts, these are Font's attribute because it is impossible to switch these styles with the same glyphs.
In SWF file, DefineText/DefineEditText doesn't have these information, but DefineFont2 does.