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 - modify Find_Glyph
Summary: modify Find_Glyph
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 11:18 UTC by Sylvain
Modified: 2018-12-18 08:46 UTC (History)
0 users

See Also:


Attachments
patch (7.90 KB, patch)
2018-11-14 11: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-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