Sylvain Becker
Sylvain Becker
@ebarlas, Also, if you can reproduce it, try to force a back-end (aaudio or opensles) by forcing them in src/audio/SDL_audio.c (&aaudio_bootstrap, or &openslES_bootstrap,) to see if this is a back-end...
I don't exactly remember why, because of previous issue, I use this patch for aaudio: comment out DetectBrokenState + re-open ``` diff --git a/src/audio/aaudio/SDL_aaudio.c b/src/audio/aaudio/SDL_aaudio.c index 76fe4e710..68f8c402d 100644 --- a/src/audio/aaudio/SDL_aaudio.c...
mix_channels() is callback of SDL_OpenAudioDevice, set from SDL_mixer/src/mixer.c It's called from SDL/src/audio/SDL_audio.c ( line ~592), so this seems to loop to much. In normal case, the delay should come from...
looks ok to me! minor suggestion, since we have the function "TTF_SetFontScriptName()", maybe this should be called TTF_GetScript**Name**() also what is the use case ? check the script of a...
@Magueija Are you sure, I can't find TTF_SetScript ?! otherwise I am ok with anything
@slouken updated! I only wonder if the LCD mode should be per font (currently) or not (eg for the whole library).
yes, it's would be better to give the FreeType handle to the user, so that he can do whatever he wants. Especially because the current functions of this PR are...
Yes, I think this make sense to expose a wrapper to be able to use this function ! feel free to make a PR for it
So according to https://freetype.org/freetype2/docs/reference/ft2-lcd_rendering.html Subpixel rendering mode, depends on FT compilation option. FT_CONFIG_OPTION_SUBPIXEL_RENDERING enables ClearType-style rendering. Otherwise, Harmony LCD rendering is enabled. ClearType-style rendering: (since FT 2.3.0) ClearType-style LCD rendering...
I think adding / exposing the freetype function is the way to go: TTF_GetSubpixelMode() TTF_SetLcdFilter() TTF_SetLcdFilterWeights() TTF_SetLcdGeometry() @Qrox hey, can you try this patch, to customize the subpixel rendering ?