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 4384

Summary: modify Find_Glyph
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 11:18:55 UTC
Modify Find_Glyph()

so that: 
- no need of "current" member in TTF_Font structure.

- Find_Glyph() gives back both glyph and bitmap as output parameters.
  It chooses pixmap vs bitmap depending on input flags.

- Find_Glyph() also marked as SDL_INLINE

(This lighten diff of bug 4361 )
Comment 1 Sylvain 2018-11-14 11:19:15 UTC
Created attachment 3492 [details]
patch
Comment 2 Sylvain 2018-12-18 08:46:25 UTC
Discarded, will be part of #4361