diff --git a/api/tests/integration/tests/layout/ref/acs_issue_2458.ket b/api/tests/integration/tests/layout/ref/acs_issue_2458.ket index 505596c26a..b8a347df12 100644 --- a/api/tests/integration/tests/layout/ref/acs_issue_2458.ket +++ b/api/tests/integration/tests/layout/ref/acs_issue_2458.ket @@ -48,6 +48,7 @@ }, { "x": 19.916666, + "y": 0.0, "z": 0.0 } diff --git a/core/indigo-core/molecule/src/base_molecule.cpp b/core/indigo-core/molecule/src/base_molecule.cpp index 258a41f0f6..4e81f7ddd5 100644 --- a/core/indigo-core/molecule/src/base_molecule.cpp +++ b/core/indigo-core/molecule/src/base_molecule.cpp @@ -4535,7 +4535,9 @@ void BaseMolecule::getAtomBoundingBox(int atom_idx, float font_size, LABEL_MODE if (font_size <= EPSILON) return; - float symbol_size = font_size * 0.6f; + float constexpr WIDTH_FACTOR = 0.7f; // width of font symbols + + float symbol_size = font_size * WIDTH_FACTOR; if (isPseudoAtom(atom_idx) || isTemplateAtom(atom_idx)) {