Re: Type Of “size” Property?

Jerry Casiano <[email protected]> Mon, 3 Jun 2019 06:59:51 -0400
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CAGw1VoA0vVHSZ3HU3Gn9Ki8OQSVwEpQe2S-LSatAOFQ0JufSZg@mail.gmail.com>
--===============0103966063==
Content-Type: multipart/alternative; boundary="0000000000000ca997058a69441e"

--0000000000000ca997058a69441e
Content-Type: text/plain; charset="UTF-8"

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 <[email protected]>
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
> > <[email protected]> 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
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/fontconfig

--0000000000000ca997058a69441e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>I believe only a few properties do that.</div><div d=
ir=3D"auto"><br></div><div dir=3D"auto">Width and weight also work that way=
 due to support for variable fonts.</div><div dir=3D"auto"><br></div><div d=
ir=3D"auto"><br><div class=3D"gmail_quote" dir=3D"auto"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Mon, Jun 3, 2019, 4:48 AM Lawrence D&#39;Oliveiro &lt=
;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;=
 wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 3 Jun 2019 16:44:59=
 +0900, Akira TAGOH wrote:<br>
<br>
&gt; On Fri, May 31, 2019 at 7:12 PM Lawrence D&#39;Oliveiro<br>
&gt; &lt;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Am I right in concluding that this property is still a double, as<=
br>
&gt;&gt; documented in older fontconfig/fontconfig.h? And that (at least as=
<br>
&gt;&gt; of 2.13.1), no property actually uses the new Range type?<br>
&gt;<br>
&gt; No, it can be Range in some cases, such as TrueType GX fonts.<br>
<br>
So properties need not be of fixed types any more? Which kind of limits<br>
the usefulness of the FCPatternGetXXX type-specific routines?<br>
<br>
Just as well I now cater for that possibility in my Python binding<br>
&lt;<a href=3D"https://github.com/ldo/python_fontconfig/commit/3993541a806c=
a450426e6ba36d6ddb377287e719" rel=3D"noreferrer noreferrer" target=3D"_blan=
k">https://github.com/ldo/python_fontconfig/commit/3993541a806ca450426e6ba3=
6d6ddb377287e719</a>&gt; ...<br>
_______________________________________________<br>
Fontconfig mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a><br>
<a href=3D"https://lists.freedesktop.org/mailman/listinfo/fontconfig" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://lists.freedesktop.org/=
mailman/listinfo/fontconfig</a></blockquote></div></div></div>

--0000000000000ca997058a69441e--

--===============0103966063==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KRm9udGNvbmZp
ZyBtYWlsaW5nIGxpc3QKRm9udGNvbmZpZ0BsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9s
aXN0cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9mb250Y29uZmln

--===============0103966063==--