Ticket #17 (closed enhancement: fixed)
Basic Subtitle Support
| Reported by: | dconrad | Owned by: | astrange |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | Subtitles | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
No fancy styles, just basic support for plain-text subtitles in Matroska, stripping SSA styles for 1.0. Will probably need to involve a separate renderer due to limitations of QTText.
Change History
comment:2 Changed 7 years ago by astrange
Changed the font.
It only handles ASCII subtitles right, though... everything else is garbage.
comment:3 Changed 7 years ago by dconrad
Looks like Quartz 2D only supports MacRoman? encodings, we'll have to use ATSUI or something else for Unicode. Probably a good idea anyways for better layout control.
Note: See
TracTickets for help on using
tickets.

Basic renderer & importing for plain-text UTF-8 committed using Quartz (QTText would have required more work and not supported many SSA/ASS features in the future.) What's left includes: •Stripping / using tags, which seem to be html-like (e.g. <i>Text</i> for italics) •Word Wrapping •Probably a better font/color/size choice (currently Chalkboard bold at 30, yellow front and black outlines) •SSA/ASS support (need to strip the header and SSA styles, which are between curly brackets {})