Skip to content

Conversation

@kuna
Copy link

@kuna kuna commented Dec 31, 2015

  • struct FC_Style added (used for creating font structure - it's too much to give as arguments)
  • FC_GetCodepoint16FromUTF8 added (simple function returns utf8 -> unicode)
  • use FC_GetSurface instead of TTF_RenderUTF8_Blended function
  • We don't use set_color_for_all_caches anymore (as border/textured font attribute makes it impossible & this will make performance better)
  • FC_SetFallback added.
  • Test cpp file was updated. you can check some new attributes easily.

@grimfang4
Copy link
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.

@kuna
Copy link
Author

kuna commented Jan 2, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants