Re: Type Of “size” Property?

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

 



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@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig

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

  Powered by Linux