We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4382

Summary: Updates SDL_ttf
Product: SDL_ttf Reporter: Sylvain <sylvain.becker>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86_64   
OS: Linux   
Attachments: patch

Description Sylvain 2018-11-14 09:30:09 UTC
To lighten diff of bug 4361, split out minors things:

- Rename font->outline (used for FontOutline style) as it somehow "shadows" "FT_Outline outline" (used for Italic style).

- set to upper case for "ft_render_mode_normal", "ft_kerning_default", "ft_render_mode_mono". 
  freetype.h says those lower case types are deprecated...

https://hg.libsdl.org/SDL_ttf/file/d280d9ff2d5d/external/freetype-2.9.1/include/freetype/freetype.h#l3401
https://hg.libsdl.org/SDL_ttf/file/d280d9ff2d5d/external/freetype-2.9.1/include/freetype/freetype.h#l3250


- remove underline_offset from the TTF_Font structure and simply use a local variable.
Comment 1 Sylvain 2018-11-14 09:31:49 UTC
Created attachment 3490 [details]
patch
Comment 2 Sylvain 2018-12-18 08:47:13 UTC
Discarded, will be part of #4361