Sorry, I mean "fontfeatures" and "fontvariations" properties. This example is only to demonstrate how to use this API proposal. Thanks, Peng On Thu, 2019-07-04 at 16:12 +0800, Peng Wu wrote: > Hi, > > Based on suggestions from Akira TAGOH, I propose another API > for this purpose. > > Take an example which we plan to override "fontfeatures" and > "fontfeatures" properties: > > customfont = FcDirCacheBeginCustomFont(config, file, index, > stylename); > FcCustomFontModifyString(customfont, FC_FONT_FEATURES, features); > FcCustomFontModifyString(customfont, FC_FONT_VARIATIONS, > variations); > FcDirCacheEndCustomFont(customfont); > > Thanks, > Peng > _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig