Skip to content

feat(av-cliper): add font style support for subtitles#406 #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 12, 2025

Conversation

Dramalf
Copy link
Contributor

@Dramalf Dramalf commented May 11, 2025

  • Add fontWeight and fontStyle options to EmbedSubtitlesClip
  • Support both string ('bold') and numeric (700) font weights (default is normal)
  • Support italic and normal font styles (default is normal)
  • Update demo and test cases

fontWeight by default and fontStyle italic:

fontWeight by default and fontStyle italic

fontWeight bold and fontStyle italic:

Pasted Graphic 1

Dramalf and others added 4 commits May 11, 2025 01:03
- Add fontWeight and fontStyle options to EmbedSubtitlesClip
- Support both string ('bold') and numeric (700) font weights
- Support italic and normal font styles
- Add test cases for new font style features
- Add fontWeight and fontStyle options to EmbedSubtitlesClip
- Support both string ('bold') and numeric (700) font weights
- Support italic and normal font styles
- Update demo and test cases
@hughfenghen
Copy link
Collaborator

🫡

@hughfenghen hughfenghen merged commit 68567fd into WebAV-Tech:main May 12, 2025
2 checks passed
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