[PATCH v3 2/4] riched20: Use OpenType functions for painting and generating script tags.