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 - Compute use_kerning when it's set
Summary: Compute use_kerning when it's set
Status: RESOLVED FIXED
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-10-31 17:28 UTC by Sylvain
Modified: 2018-10-31 22:14 UTC (History)
0 users

See Also:


Attachments
patch (5.29 KB, patch)
2018-10-31 17:29 UTC, Sylvain
Details | Diff
patch (5.46 KB, patch)
2018-10-31 20:19 UTC, Sylvain
Details | Diff

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