freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] MultipleMaster: no setweightvector?


From: Chris Liddell
Subject: Re: [ft-devel] MultipleMaster: no setweightvector?
Date: Mon, 26 Nov 2018 09:07:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 26/11/2018 05:33, Werner LEMBERG wrote:
> 
>>>> I'd like to add the ability to set/get the weight vector directly
>>>> (FT_Set/Get_MM_Weight_Vector), [...]
>>
>> I've taken a first pass at this:
>>
>> https://tinyurl.com/yatcd4xn
>>
>> I'm sure I've messed up some coding standard, or API detail things,
>> so let me know if anyone has issues with it.
> 
> Coding is fine, thanks :-) While checking it in more detail I'll fix
> whitespace issues here and there (e.g., the indentation level is
> always two spaces, not four), but IMHO this is nothing you should
> worry about.
> 
> Some observations:
> 
> . I'm missing a diff for the API entry in `ftmm.h'.  Is this
>   intentional or an omission?

An omission: diff/patch mistake porting from the freetype in gs to the
current master branch.

> . You are talking about -1 as a return value of
>   `FT_Set_MM_WeightVector_Func'.  I don't see this in the code.
>   Additionally, the return type is `FT_Error' so it's not clear to me
>   what you mean with `return value'.

Leftover from earlier iteration of the patch, sorry.

> . The special handling of `*len' in `T1_Get_MM_WeightVector' needs
>   documentation, i.e., at least a comment.

See the missing ftmm.h changes!

Revised (I fixed some/all(?) of the 2/4 space indent confusions):

https://tinyurl.com/ydyx2sjs

Cheers,

Chris



reply via email to

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