Skip to content
CueNorm Public Validator

Text layout

FORBIDDEN_STYLE

Forbids a text style that the destination does not accept.

What it checks

A subtitle containing text in the forbidden style produces one issue for that subtitle. A profile can declare the rule several times, once per forbidden style.

How it is measured

CueNorm inspects the styling of every text span of the subtitle as parsed from the source file:

Style Detected from
italic ASS \i1 and italic styles, SRT <i>, TTML tts:fontStyle="italic", EBU-STL italics
underline ASS \u1 and underlined styles, SRT <u>, TTML tts:textDecoration="underline", EBU-STL underline
bold ASS \b1 (or a weight of 700 and more) and bold styles, SRT and WebVTT <b>, TTML tts:fontWeight="bold"
color any text color other than white: ASS colors, SRT <font color>, TTML tts:color, WebVTT color classes, EBU-STL teletext color codes. Text without a color counts as white

Background boxes are not represented in CueNorm's internal model yet. A profile declaring style: backgroundBox is rejected when it is loaded, rather than silently accepting a rule that could never report anything.

Parameters

Parameter Type Meaning
style italic, underline, bold or color The forbidden style

Example

With style: italic, a subtitle containing <i>Previously…</i> is reported as Style "italic" is forbidden by the profile.

With style: color, used by destinations that require white text (the French broadcasters' CST-RT-040 baseline outside SDH, Netflix and Prime Video English), a subtitle with yellow text is reported as Text color(s) #ffff00 are forbidden by the profile (white text only).

How to fix

  • Remove the style from the source subtitle. For color, set the text back to white; if the colors carry an SDH color code, deliver the file with the destination's SDH profile instead.
  • If emphasis carries meaning (off-screen voice, song, foreign language), use the destination's accepted convention instead: often quotation marks, a dash or a label. Check its specification.

Profiles using this rule

ProfileSeverityParameters
French broadcasters VOST (RT-040) fr-broadcast-vost-fr error style=color
France Télévisions VOST French francetv-vost-fr error style=color
Netflix SDH English netflix-sdh-en error style=color
Netflix SDH French (France) netflix-sdh-fr-fr error style=color
Netflix Subtitles English — Children netflix-subtitle-children-en error style=color
Netflix Subtitles French (France) — Children netflix-subtitle-children-fr-fr error style=color
Netflix Subtitles English netflix-subtitle-en error style=color
Netflix Subtitles French (Canada) netflix-subtitle-fr-ca error style=color
Netflix Subtitles French (France) netflix-subtitle-fr-fr error style=color
Prime Video SDH French (France) prime-video-sdh-fr-fr error style=color
Prime Video Subtitles English prime-video-subtitle-en error style=color
Prime Video Subtitles French (France) prime-video-subtitle-fr-fr error style=color
TF1 VM French tf1-vost-fr error style=color