https://github.com/istudyatuni/ass-style-changer
Change fonts in .ass subtitles
https://github.com/istudyatuni/ass-style-changer
ass substation subtitles
Last synced: 7 months ago
JSON representation
Change fonts in .ass subtitles
- Host: GitHub
- URL: https://github.com/istudyatuni/ass-style-changer
- Owner: istudyatuni
- Created: 2025-01-30T17:03:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-31T21:19:19.000Z (over 1 year ago)
- Last Synced: 2025-01-31T22:24:45.574Z (over 1 year ago)
- Topics: ass, substation, subtitles
- Language: Rust
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Change embedded fonts in .ass subtitles
Do you want to watch movie with subtitles, but don't want to download extra fonts and want to just use a font that's already available? Just do:
## Installation
```sh
cargo install --git https://github.com/istudyatuni/ass-style-changer --locked
```
## Usage
```sh
# Fix single file
assfix fix 'subtitle.ass' --font 'Your Font Name'
# Fix all .ass files in directory
assfix fix ./path/to/dir --font 'Your Font Name'
# Fix all .ass files from "dir" and write to "target" directory
assfix fix ./dir --font 'Your Font Name' --target ./target
```
This will change font for all styles in `[V4+ Styles]` table. Backup of original files will be created, e.g. for `subtitle.ass`: `subtitle.ass.bak`
To disable creating backups pass `--no-backup` flag:
```sh
assfix fix 'subtitle.ass' --font 'Your Font Name' --no-backup
```
## Possible future improvements and features
- Use in browser
- Fix font for specific styles
- Fix more: bold, italic, etc