Re: Another proposal for saving custom fonts in fontconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Sorry, I mean "fontfeatures" and "fontvariations" properties.

This example is only to demonstrate how to use this API proposal.


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

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux