[PATCH v4 1/3] riched20: Use OpenType functions for painting and generating script tags.