[Fontconfig] Type Of “size” Property?

Jerry Casiano jerrycasiano at gmail.com
Mon Jun 3 10:59:51 UTC 2019


I believe only a few properties do that.

Width and weight also work that way due to support for variable fonts.


On Mon, Jun 3, 2019, 4:48 AM Lawrence D'Oliveiro <ldo at geek-central.gen.nz>
wrote:

> On Mon, 3 Jun 2019 16:44:59 +0900, Akira TAGOH wrote:
>
> > On Fri, May 31, 2019 at 7:12 PM Lawrence D'Oliveiro
> > <ldo at geek-central.gen.nz> wrote:
> >
> >> Am I right in concluding that this property is still a double, as
> >> documented in older fontconfig/fontconfig.h? And that (at least as
> >> of 2.13.1), no property actually uses the new Range type?
> >
> > No, it can be Range in some cases, such as TrueType GX fonts.
>
> So properties need not be of fixed types any more? Which kind of limits
> the usefulness of the FCPatternGetXXX type-specific routines?
>
> Just as well I now cater for that possibility in my Python binding
> <
> https://github.com/ldo/python_fontconfig/commit/3993541a806ca450426e6ba36d6ddb377287e719>
> ...
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/fontconfig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20190603/f16421aa/attachment.html>


More information about the Fontconfig mailing list