Caption layout

Guide

Caption layout

Control how captions fit your screen, where the overlay opens across monitors, how fast lines update and which filler words are hidden on screen.

Inspired by issue #77, with thanks to @valentinrabot for the responsive-layout suggestion.

Fit window

Settings → Reading → Caption layout → Fit window (French: Paramètres → Lecture → Disposition des sous-titres → Adapter à la fenêtre) is the default layout, and Settings stays accessible while a session runs. Making the overlay wider fits more words per line; making it taller reveals more recent context. Font size stays fixed, captions stay bottom-aligned with margins, and the newest words always take priority when space tightens.

Click Move overlay to reposition or resize the strip, then Lock into place to return to the audience view; move mode displays positioning handles instead of live captions, and the locked overlay stays click-through. Snap to bottom / Aligner en bas resets the strip to roughly two lines per visible source (160 logical pixels high at the default font size). Drag the edges taller for extra reading context—resizing reveals stored history rather than inventing new text.

At launch, the overlay reopens where you last placed it, remembered separately for up to eight display arrangements (for instance, on the projector whenever it is plugged in, and on the laptop screen when it is not). The same applies mid-session: unplugging a projector moves an overlay that was on it back onto a connected display (resizing if needed), and reconnecting the projector returns it to its remembered spot—all without interrupting captioning. Unseen display setups open with your most recent placement constrained to the active work area, and first launch centres the overlay. A Windows display-scaling change counts as a distinct arrangement.

When both sources have visible captions, system audio sits above the microphone with origin labels and shares the available height; a single visible source uses the full strip without a label. If the strip is too shallow for one line per row at your chosen font size (for example, four rows in a 160 px strip), the overlay tightens row spacing from 18 px to 6 px, shrinks rows down to 20 px, hides the original-speech line if needed to protect the translation, and finally scales down to 12 px rather than dropping a row. When this happens, a notice under Caption size in the live rail tells you the actual drawn size and points to Move overlay and Snap to bottom.

Compact

Choose Compact to keep the line width limited. Line width / Largeur des lignes appears only in this mode. The default is 30ch, adjustable from 20ch to 60ch; the character budget remains proportional to this width. A smaller window can further limit the text that fits.

Switching layouts keeps the chosen font, colours and compact width. The layout preference is kept after a relaunch and is shared by the settings panel and live rail. Reset, in the appearance settings, restores Fit window and the other appearance defaults; it does not move the overlay.

Stable reading

Choose Stable reading for a teleprompter-style display (issue #79). Text is left-aligned and anchored to the top of each source’s allocated area. New words wrap naturally. Once the area fills, the viewport advances one complete rendered line at a time; there is no continuous centring, animated scrolling, or moving caret. Earlier turns keep the same colour, so finishing a turn does not appear to move the reading point.

This mode keeps the session’s caption context in memory, including during pauses; Stop clears it. Once 180 lines have scrolled out of view, the oldest are dropped at the start of a rendered line, keeping 60 hidden lines; cutting only at a line start means no line already on screen re-wraps. A single turn that streams for minutes is bounded too, as Fit window and Compact bound theirs: past 12,000 characters only its newest 10,000 to 12,000 are laid out, cut at a word, with no context before them (stableTurnTail). The cut moves in 2,000-character steps rather than with every word, and lands thousands of characters above the lines on screen, so those keep their wrap. The two sources remain independent and share the window. Resizing, changing fonts, adding a second source, or provider corrections can still reflow text. The backing is even across the reading area, so top-aligned text is readable over light content.

Stable reading on the overlay over a light slide: three left-aligned lines of English captions on an even dark backing.

Hide filler words

Hide filler words is off by default (issue #80). It removes listed words from the overlay and repairs the clause punctuation around them: only the removed word and its adjacent commas, semicolons or colons go, so other punctuation and spacing (including French spacing before ? and !) stay as the provider returned them. The built-in list is the hesitation tokens um, uh, erm, hmm, euh and heu. Substrings, all-capital abbreviations, quoted words (including French « spaced » guillemets) and unfinished streamed tokens are preserved. This is a conservative text filter, not semantic speech analysis.

Translation mode filters the translated text shown to the audience; subtitle mode filters the same-language text. The operator transcript, saved history, recovery copy and exports keep the original text, and no provider setting or extra request is involved. In Stable reading, each turn is cleaned once as it joins the retained context, so a mid-session change to the option or the list applies to the live turn and new captions without re-wrapping lines already read; Fit window and Compact apply it to the text on screen at once.

The word list

While the option is on, Settings → Reading shows the active list under it (issue #85). Operators can remove any word, including the built-in ones, add words one at a time, and use Reset to defaults. Each change reaches the overlay at once, without restarting the session.

Settings, Reading tab: Caption layout set to Stable reading, Hide filler words on with its word list (um, uh, erm, hmm, euh, heu), an Add a word field and Reset to defaults.

  • Whole words only. A listed word matches only between spaces or punctuation, in any script and without regard to case; eh never matches inside ehé. It is removed wherever it stands on its own, whatever it means there, which is why the interface warns against ambiguous words such as “like”, “well” or “so”.
  • One word per entry. Entries are trimmed, and blank entries and duplicates (ignoring case) are rejected. Letters, marks and digits may be joined by hyphens or apostrophes (mm-hmm, y'know); either apostrophe or hyphen form in the captions matches. Phrases, patterns and per-language lists are not supported. The list holds up to 100 words of up to 40 characters.
  • Languages written without spaces. In Chinese, Japanese and Thai captions a listed word is removed only when it stands alone between spaces or punctuation.
  • Storage. Nothing is stored while the list is the built-in one. A customised list is saved as JSON under overlay.fillerWords; an emptied list is saved as [] and removes nothing.

The option and the list are kept after a relaunch and stay in step with the live controls. The list is not part of the appearance: resetting the appearance switches the option off but keeps the list, and meeting profiles do not store it.

Original speech under translations

Settings → Reading → Show the original speech under translations adds a smaller (0.6×), dimmed line under each translated caption, for people following the speaker’s own language. It is the current turn’s source text, fitted by the same measured tail search as the caption, two lines when the row has room for them and one otherwise. Like the caption, it reaches that search as at most its last 12,000 characters, cut at a word. It is left out of Stable reading — a second, separately scrolling language under one flowing paragraph would be two things to read at once — and subtitles have no separate original to show. Snap to bottom makes room for one line of it per row. Off by default. The browser preview shows it on the remote row when the setting is on.

A notice instead of the captions

During a break the operator can show one line on the overlay in place of the captions (usability). It is set like a finished caption, centred, at the size one caption row would have in the strip (fitRows with one row), and fitNoticeFont shrinks it until the whole line fits the strip’s height, down to the 12 px floor rows have; below that it is clipped as a row would be. A notice is never cut with an ellipsis like a caption: it is short and read whole. While it is up, the overlay reports no fit to the operator window, since no caption rows are drawn.

Two caption languages

With a second caption language (Step 03, translation only), each source gets a row per language, the first above the second, in the order remote-first, room-second. The labels become language codes — FR, EN — with the source name too when both sources are on screen; a name would crowd the caption at projector distance. Each row is marked up with its own language. The original speech, when shown, goes under the first language only: the second comes from the same speech. Snap to bottom sizes the strip for up to four rows. ?language=bilingual previews it in a browser, and ?language=bilingual-both previews both sources in both languages: four rows.

Fitting cost

Fit window hands the fitting search up to 12,000 characters of context, and every probe is a synchronous layout. The search starts from the tail the region could possibly show (captionReach: two rows of slack, glyphs a fifth of the line height wide) and falls back to the whole text only if even that tail fits, so the result is unchanged. In headless Chromium at 1500 px wide and 38 px with 12,000 characters of context, this took the median fit from 4.1 ms to 0.7 ms per caption per source. Line height is read once per font.

The same 12,000 characters (CAPTION_TAIL_CHARS in captionLayout.ts) bound everything else that streams with a turn: the current turn in Fit window, its original speech, and the operator window’s live stage, which shows the newest part of each current turn and its original rather than laying a turn of several minutes out again on every interim. The transcript keeps every word.

Recent context and the transcript

Fit window keeps a limited recent history in memory for each source. Completed text is dimmed ahead of the current turn. Growing the window can reveal more of that history; shrinking it removes older words from the audience view first. Very long unbroken tokens can be shortened so their newest characters still fit.

In Fit window and Compact, captions clear after the reading pause, and clearing also removes that source’s reading context. This is a live-caption view, not a scrolling transcript viewer. The full operator transcript and exported files are unaffected by overlay trimming or expiry. No additional audio capture, provider request, disk history or telemetry is introduced.

Release verification

Repeat this matrix against the final 1.12.0 x64 and ARM64 MSIX packages. The last recorded browser and native pass was for 1.2.4 (14 September 2026).

Check Expected result
Clean preferences Fit window is selected; compact width is hidden.
Wider, same height and font Longer lines use the available width without horizontal clipping.
Taller, same width and font More available recent context is visible; newest words remain visible.
Shrink and enlarge again Oldest words disappear first; retained context returns when space permits.
Short turns and long continuous speech Recent short turns accumulate; long text remains bounded and responsive.
Microphone, system, then Both Each source works alone; simultaneous rows remain labelled and fit together.
One source expires Its row clears; the other source gains the available space.
Long words, URLs, punctuation and emoji No horizontal overflow or broken Unicode in shortened tokens.
Caption fonts at 20, 38 and 96px Text refits after size/typeface changes; no partly clipped lines.
Windows scaling Check 100%, 150%, 200% display scaling and moving between monitors with different DPI.
Compact and reset Width is adjustable only in Compact; switching retains it; reset returns to Fit window.
Relaunch Layout and appearance persist; the fresh session does not resurrect old captions.
Placement and locking Move/resize, Enter, Escape and click-through still work; the move-mode preview stays readable over a white slide (1.6.1); Done in the operator window marks the overlay placed (1.7.0).
Placement across launches Placed on the projector, it reopens there; launched without the projector it opens fully on the laptop, and with the projector reconnected it is back on it. With the laptop at 150% and the projector at 100%, the size is kept, not scaled. No visible jump from the centre at launch.
Display changes while running (#137) With the overlay on the projector, unplug the projector without quitting: within a couple of seconds the overlay is fully on the laptop, and Move overlay shows it there, draggable. Plug the projector back in: the overlay returns to its projector placement. Repeat with the overlay hidden (it stays hidden, then shows on the laptop), in move mode (Escape leaves it on the laptop), with a projector to the left of or above the laptop, and by switching Windows projection mode (Win+P: PC screen only, Extend, Second screen only). A running session keeps captioning throughout.
Idle and export Existing fade-out works; full transcript remains available and exports correctly.
Stable reading, long session Past 180 hidden lines the context trims with no visible re-wrap; changing Hide filler words or its word list changes the live turn and new captions only.
English and French Labels, keyboard access and layout choice work in both the rail and settings.
Light/dark content Current text and dimmed history remain readable over slides and video calls.

The built-in demo provides a free first check. Use live speech for continuous long-turn, two-source and meeting tests; those use the operator’s chosen provider and account. See accessibility and the release handoff for the remaining release gates.

Reading pace and preview

Fit window and Compact keep finished captions for a configurable 2–30 seconds (default 4 seconds). This is a per-source reading pause after its latest completed caption, not a minimum display time that delays new speech. Unfinished, stalled text still expires after 3 seconds. Stable reading keeps its session-long context, bounded as described above.

Immediate is the default. Steadier presents the most recent interim hypothesis every 450 ms per source, without waiting indefinitely for silence. Final text and turn transitions flush promptly; Steadier can still revise words already displayed. This setting only changes presentation: it does not buffer audio, delay transcription storage or add requests.

Settings → Captions keeps presets and the appearance preview visible, with sample text at the selected font size over bright and dark slides. Standard, Large room and High contrast presets change appearance. Reset also restores the default reading pace and hold time and switches the filler filter off; the word list keeps its own reset. The real overlay may have different dimensions, so finish placement on the presentation display.

Gemini subtitles are requested word for word (VERBATIM), fillers included, so the local filler filter hides them on the overlay while keeping the raw transcript intact. Raw text means the provider’s returned text, not a guaranteed verbatim record of speech.