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 4348

Summary: Compute use_kerning when it's set
Product: SDL_ttf Reporter: Sylvain <sylvain.becker>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86_64   
OS: Linux   
Attachments: patch
patch

Description Sylvain 2018-10-31 17:28:21 UTC
Compute use_kerning when it's set instead of doing it at each rendering
Comment 1 Sylvain 2018-10-31 17:29:59 UTC
Created attachment 3428 [details]
patch

This is a minimal patch .. but that makes that part go into the kerning function
Comment 2 Sylvain 2018-10-31 20:19:32 UTC
Created attachment 3430 [details]
patch

updated (remove unused variable)
Comment 3 Sam Lantinga 2018-10-31 22:14:45 UTC
Patch added:
https://hg.libsdl.org/SDL_ttf/rev/cf9bb0fa2843