skynav / ttt

Timed Text Toolkit
BSD 2-Clause "Simplified" License
75 stars 15 forks source link

support runtime configuration of shear mapping #240

Closed skynavga closed 5 years ago

skynavga commented 5 years ago

Add new option --shear-map FLOAT*6, e.g., --shear-map 0 6 10 15 20 25, that determines the mapping from CAP italic0 through italic5 attribute designations to tts:fontShear or tts:shear shear values (depending on output model). Shear values are interpreted as percentages as described in https://www.w3.org/TR/2018/REC-ttml2-20181108/#semantics-style-procedures-shear.