The FreeType Project - Bugs: bug #46326, Further improve documentation of...
You are not allowed to post comments on this tracker with your current authentication level.
bug #46326: Further improve documentation of `FT_Get_MM_Var'.
Submitter: | bungeman <bungeman> | ||
Submitted: | Thu 29 Oct 2015 08:14:37 PM UTC | ||
Severity: | 3 - Normal | Item Group: | Wishlist |
Status: | Fixed | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | 2.9 |
Jump to the original submission
Mon 08 Jan 2018 07:13:51 PM UTC, comment #6: |
Werner LEMBERG <wl> |
Mon 08 Jan 2018 04:39:19 PM UTC, comment #5: I think this can be closed now that FT_Done_MM_Var has been added. |
bungeman <bungeman> |
Thu 11 Feb 2016 06:22:24 AM UTC, comment #4: Any progress? |
Werner LEMBERG <wl> |
Sat 31 Oct 2015 05:41:59 AM UTC, comment #3: For consistency with the current API, I vote for option 2, taking an `FT_Library' parameter (BTW, you probably mean `FT_Bitmap_Done' instead of `FT_Stroker_Done', since the latter doesn't have a second argument). By the same token, the new function names should be then `FT_MM_Var_New' and `FT_MM_Var_Done', respectively.
|
Werner LEMBERG <wl> |
Fri 30 Oct 2015 10:37:13 PM UTC, comment #2: There is an issue with implementing FT_Done_MM_Var in the 'straight forward' way, which is that there is currently no pointer from the FT_MM_Var to an FT_Memory. The options appear to be:
|
bungeman <bungeman> |
Fri 30 Oct 2015 07:11:34 AM UTC, comment #1: Nice idea! Can you provide a patch for an `FT_Done_MM_Var' function, together with the documentation?
|
Werner LEMBERG <wl> |
Thu 29 Oct 2015 08:14:37 PM UTC, original submission:
Recently, the documentation for FT_Get_MM_Var was updated to state that the user must deallocate the returned pointer with 'free'. This is true, but I think somewhat misleading, as this 'free' is the 'free' on the FT_Library's FT_Memory. This is usually the c library 'free', but if a different FT_Free_Func was specified on the FT_Memory passed to FT_New_Library, then it should be that one which is called.
|
bungeman <bungeman> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-01-08 | wl | Status | Confirmed | Fixed | |
Open/Closed | Open | Closed | |||
Planned Release | None | 2.9 | |||
2015-10-30 | wl | Status | None | Confirmed | |
Assigned to | None | wl |
Powered by Savane 3.13-758e.
Corresponding source code
Indeed! Thanks for pointing this out.