Skip to main content

FONT_FRAC

Constant FONT_FRAC 

Source
pub const FONT_FRAC: f64 = 0.45;
Expand description

Atom-label em as a fraction of bond length.

RDKit documents baseFontSize = 0.6, but MolDraw2D outlined heteroatom glyphs measure ~0.29 × bond in cap height (~0.45 em with Liberation Sans).