Skip to content

Commit 0d0388f

Browse files
committed
fix: change android subtitle font
close #131
1 parent 6ae64e6 commit 0d0388f

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

assets/droid-sans.ttf

-5.96 MB
Binary file not shown.

assets/go-noto-current-regular.ttf

14 MB
Binary file not shown.

lib/screens/video_player_screen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ class VideoPlayerScreenState extends State<VideoPlayerScreen>
241241
player = Player(
242242
configuration: PlayerConfiguration(
243243
libass: true,
244-
libassAndroidFont: 'assets/droid-sans.ttf',
245-
libassAndroidFontName: 'Droid Sans Fallback',
244+
libassAndroidFont: 'assets/go-noto-current-regular.ttf',
245+
libassAndroidFontName: 'Go Noto Current-Regular',
246246
bufferSize: bufferSizeBytes,
247247
logLevel: debugLoggingEnabled ? MPVLogLevel.debug : MPVLogLevel.error,
248248
mpvConfiguration: config,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ flutter:
8383
assets:
8484
- lib/data/iso_639_codes.json
8585
- assets/plezy.png
86-
- assets/droid-sans.ttf
86+
- assets/go-noto-current-regular.ttf
8787

8888
flutter_launcher_icons:
8989
android: true

0 commit comments

Comments
 (0)