PDFium Delphi Component Docs

ReadingWordThickness property

Unit: PDFium
property ReadingWordThickness: Integer default 2;

ReadingWordStyle selects rwsFilled, rwsOutline or rwsUnderline for the current karaoke word overlay; the default rwsFilled preserves the existing appearance

ReadingWordThickness accepts 1..16 device pixels and defaults to 2; it controls the border or underline thickness independently of PDF zoom and page rotation

ReadingWordOpacity accepts 0..255 and defaults to PdfReadingWordAlpha (150); zero disables visible word tint and 255 produces an opaque cursor

The existing ReadingWordColor remains the tint color; changing appearance invalidates an active cursor without clearing word caches or changing the selection, reading position, follow policy or spoken offsets

Outline strips do not overlap at corners, so each pixel is blended once; an outline whose thickness covers the entire small rectangle becomes one filled rectangle, and an oversized underline is clamped inside the word

The renderer normalizes reversed device rectangles and clips to the target canvas before allocating buffers; empty, fully clipped and transparent overlays do no pixel work

FPC Windows captures and publishes overlays in bulk using a native DIB and mixes only in memory, including search/selection/reading overlays that share the blend helper

FPC Unix uses bulk bitmap/intf-image operations with in-memory colors; native runtime qualification in this release covers Delphi Win64 VCL and FPC Win64 LCL, not unexecuted Unix widget sets