[Top][All Lists]

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

Re: Add support for FT_Face cloning

From: Tayyab Akram
Subject: Re: Add support for FT_Face cloning
Date: Wed, 9 Feb 2022 17:54:02 +0000 (UTC)

Yeah, but I guess there is only one public data structure involved, that is `FT_Face`. We can write comments for it as its not gonna change but we can reorganize the internal ones.
On Wednesday, February 9, 2022, 10:48:02 PM GMT+5, Werner LEMBERG <> wrote:

> So basically, we need to organize the fields in such a way that they
> reflect their traits.  It can be having a prefix describing the
> trait or organizing like the following:
> typedef struct ABC {
>  struct {
>    /* Mutable Properties. */
>  } mutable;
>  struct {
>    /* Lazy Properties. */
>  } lazy;
>  /* Immutable Properties. */
>  FT_UInt first;
>  FT_UInt second;
> } ABC;

Alas, this is not possible for public structures, which can't be
changed in any way to retain backwards compatibility.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]