diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index a09a3092..c40fe889 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -87,8 +87,8 @@ dependencies { // FFmpeg audio decoder for unsupported codecs (ALAC, DTS, TrueHD, etc.) implementation("org.jellyfin.media3:media3-ffmpeg-decoder:1.9.0+1") - // libass-android for ASS/SSA subtitle rendering - implementation("io.github.peerless2012:ass-media:0.4.0-beta01") + // libass-android for ASS/SSA subtitle rendering (fork with font buffering fix) + implementation(files("libs/ass-media.aar")) // ass-kt core library (needed for AssRender.setFontScale) implementation("io.github.peerless2012:ass-kt:0.4.0-beta01") } diff --git a/android/app/libs/ass-media.aar b/android/app/libs/ass-media.aar new file mode 100644 index 00000000..321642cc Binary files /dev/null and b/android/app/libs/ass-media.aar differ