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 89239e4592..9ed3ac192b 100644 --- a/api/tests/integration/tests/layout/ref/acs_issue_2458.ket +++ b/api/tests/integration/tests/layout/ref/acs_issue_2458.ket @@ -42,12 +42,12 @@ "mode": "open-angle", "pos": [ { - "x": 9.8, + "x": 9.904167, "y": 0.0, "z": 0.0 }, { - "x": 20.216667, + "x": 20.945833, "y": 0.0, "z": 0.0 } @@ -286,8 +286,8 @@ { "label": "P", "location": [ - 10.425, - 1.333333, + 10.546529, + 1.368056, 0.0 ] } @@ -300,8 +300,8 @@ { "label": "P", "location": [ - 12.091667, - 1.333333, + 12.317363, + 1.368056, 0.0 ] } @@ -314,7 +314,7 @@ { "label": "O", "location": [ - 9.175, + 9.261806, 0.0, 0.0 ] @@ -328,8 +328,8 @@ { "label": "O", "location": [ - 14.591668, - 1.333333, + 14.990974, + 1.368056, 0.0 ] } @@ -342,8 +342,8 @@ { "label": "O", "location": [ - 16.258335, - 1.333333, + 16.761808, + 1.368056, 0.0 ] } @@ -356,7 +356,7 @@ { "label": "N", "location": [ - 21.258333, + 22.039583, 1.309017, 0.0 ] @@ -364,7 +364,7 @@ { "label": "C", "location": [ - 22.209391, + 22.990639, 1.0, 0.0 ] @@ -372,7 +372,7 @@ { "label": "C", "location": [ - 20.670547, + 21.451797, 0.5, 0.0 ] @@ -380,7 +380,7 @@ { "label": "C", "location": [ - 22.209391, + 22.990639, -0.0, 0.0 ] @@ -388,7 +388,7 @@ { "label": "N", "location": [ - 23.075417, + 23.856665, 1.5, 0.0 ] @@ -396,7 +396,7 @@ { "label": "N", "location": [ - 21.258333, + 22.039583, -0.309017, 0.0 ] @@ -404,7 +404,7 @@ { "label": "C", "location": [ - 23.075417, + 23.856665, -0.5, 0.0 ] @@ -412,7 +412,7 @@ { "label": "C", "location": [ - 23.941441, + 24.722691, 1.0, 0.0 ] @@ -420,7 +420,7 @@ { "label": "N", "location": [ - 23.941441, + 24.722691, 0.0, 0.0 ] @@ -428,7 +428,7 @@ { "label": "O", "location": [ - 23.075415, + 23.856665, -1.5, 0.0 ] @@ -436,7 +436,7 @@ { "label": "N", "location": [ - 24.807467, + 25.588715, 1.5, 0.0 ] @@ -535,8 +535,8 @@ { "label": "P", "location": [ - 17.091669, - 1.333333, + 17.629864, + 1.368056, 0.0 ] } @@ -549,8 +549,8 @@ { "label": "O", "location": [ - 19.591667, - 1.333333, + 20.303473, + 1.368056, 0.0 ] } diff --git a/core/indigo-core/molecule/src/base_molecule.cpp b/core/indigo-core/molecule/src/base_molecule.cpp index 258a41f0f6..428fcf5eb9 100644 --- a/core/indigo-core/molecule/src/base_molecule.cpp +++ b/core/indigo-core/molecule/src/base_molecule.cpp @@ -4535,7 +4535,7 @@ void BaseMolecule::getAtomBoundingBox(int atom_idx, float font_size, LABEL_MODE if (font_size <= EPSILON) return; - float symbol_size = font_size * 0.6f; + float symbol_size = font_size * 0.65f; if (isPseudoAtom(atom_idx) || isTemplateAtom(atom_idx)) {