freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Pr


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Property_Set' to set the hooks. One less API function.
Date: Wed, 21 Aug 2019 08:57:00 -0400

On Wed, Aug 21, 2019 at 12:20 AM Werner LEMBERG <address@hidden> wrote:
>
>
> >> Having a structure certainly reduces possible coding errors, but in
> >> the end there is still a cast from one type to another, something
> >> that disables type checking on the compiler level.
> >
> > The hooks are static, aren't they?  Otherwise, how do you plan to
> > document them?
>
> Not sure what you mean with `static'.

I would like to see a draft documentation for setting hooks. You will
have to offer some constant preset structures, which will be fun to
describe to users. They will fly from the finger tips, of course.
Perhaps you will then offer predefined macros, which will be a way out
of this mess. Then only then you will probably consider my idea of
using a string alias, which will also work for in the environment
variable, or even reconsider the single-renderer design. So please
please please, start drafting documentation to fully appreciate what
you have.



reply via email to

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