Skip to content

Support for shearing of lines and inline elements #2983

@palemieux

Description

@palemieux

Japanese subtitles commonly use shearing of text, as illustrated below.

Not sheared:

plain

Sheared:

shear

Couple of observations:

  • while shearing might not be appropriate for books, it is commonly used for subtitles

  • shearing is not applied to individual characters, but instead to complete blocks -- each of the digits in 1998 is not sheared individually, and both ruby text and base are sheared as a single block

  • the shear angle is author-specified

  • it should be possible to shear individual lines as well as groups of lines

CSS Transforms Module Level 1 skewX() and skewY() can be applied to blocks but neither to lines nor inline elements

See tts:shear, tts:lineShear and tts:fontShear at TTML2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TTMLcss-fonts-4Current Worki18n-jlreqJapanese language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions