/** * The rule over emphasised words (`bodyText.emphasis: 'overline'`, #376): * the khaṭṭ fawqī Arabic books draw over a word to stress it, where Latin * type would slant it. The `*…*` runs of such a block are set upright * (their italic faces are the regular ones, `pipeline/styles.ts`); once * the document is laid out each run of them gets a rule as a * `VDTLine.marks` line, which every renderer draws as it draws the * Chinese marks. * * The rule stands a little over the run's ink: over the letters, and over * their vowel marks when they carry any. A run is the emphasised words * that follow each other along the line (the flow order `VDTLine.order` * followed), with the spaces between them; a run broken over two lines * gets a rule on each. */ import type { VDTDocument, VDTLine, VDTLineMark } from './vdt.js'; import { segmentPositions } from './cjkMarks.js'; type BlockLike = Parameters[1]; /** The overline marks of a line of a block set with * `emphasis: 'overline'`, relative to the line; empty when it has no * emphasised word. */ export declare function overlineMarks(line: VDTLine, block: BlockLike, color?: string): VDTLineMark[]; /** Draw the rules of every block set with `emphasis: 'overline'` (see the * module comment), in the block's emphasis colour. */ export declare function overlineEmphasis(doc: VDTDocument): void; export {}; //# sourceMappingURL=emphasisOverline.d.ts.map