Text output cross-platform

I want to implement rich text, for example, bold, italic and underline and so on, but I got a question.
Draw text are different under each of platform. Under unix, it is used to FreeType, but FreeType is cross-platform, so why do not used to other platform?