Suggested feature on grimfang4/SDL_FontCache#5#6
Open
kuna wants to merge 6 commits intogrimfang4:masterfrom
Open
Suggested feature on grimfang4/SDL_FontCache#5#6kuna wants to merge 6 commits intogrimfang4:masterfrom
kuna wants to merge 6 commits intogrimfang4:masterfrom
Conversation
Owner
|
Some cool stuff here! It'll take me a while to get around to working it in. SDL_FontCache is a C library, so I'd have to backport any C++. I also have to be careful with SDL_Surface pixel manipulations without an explicit pixel format. |
Author
|
Oh c language was an intended one, I didn't know that. Actually It'd be no problem if you compile these files in c language right now. anyway, I hope these features can help improve this library. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
struct FC_Styleadded (used for creating font structure - it's too much to give as arguments)FC_GetCodepoint16FromUTF8added (simple function returns utf8 -> unicode)FC_GetSurfaceinstead of TTF_RenderUTF8_Blended functionset_color_for_all_cachesanymore (as border/textured font attribute makes it impossible & this will make performance better)FC_SetFallbackadded.