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 - Updates SDL_ttf
Summary: Updates SDL_ttf
Status: RESOLVED INVALID
Alias: None
Product: SDL_ttf
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-14 09:30 UTC by Sylvain
Modified: 2018-12-18 08:47 UTC (History)
0 users

See Also:


Attachments
patch (10.69 KB, patch)
2018-11-14 09:31 UTC, Sylvain
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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