User 870ab5b546
02-10-2006 13:06:30
Sometimes the last letter in a textbox does not appear when a JPEG is made. For example, we recently typed "peroxide", and it appeared in the JPEG as "peroxid".
A simple workaround is just adding a few space characters after the last letter. Still, it should not be necessary to do so.
ChemAxon 7c2d26e5cf
02-10-2006 14:36:37
Can you show me an example (an mrv or a snapshoot)? It would be useful for debugging.
User 870ab5b546
02-10-2006 17:57:28
Hm, my student fixed the problem by moving the right edge of the textbox further to the right, and now I can't reproduce it. I have seen it before, though; letters at the right edge of the textbox are sometimes truncated, even when the right edge has not been relocated from where it was placed when the text was entered.
ChemAxon 7c2d26e5cf
03-10-2006 16:50:09
I am glad that the problem is solved.
If you need to reproduce this problem in the future, please post the MRV source and a snapshoot.
User 870ab5b546
10-10-2006 16:25:20
OK, here's an example, even more severe than what I reported previously.
This source looks good in Marvin:
Code: |
<?xml version="1.0" ?>
<MDocument>
<MChemicalStruct>
<molecule molID="m1">
<atomArray
atomID="a1 a2 a3 a4 a5 a6 a7 a8 a9"
elementType="C C C C C C C C Br"
x2="-6.545000076293945 -6.545000076293945 -5.21132095446591 -7.878679198121981 4.475625276565552 4.475625276565552 3.1419461547375165 5.8093043983935875 7.142983520221623"
y2="1.5881249904632568 0.0481249904632568 -0.7218750095367431 -0.7218750095367434 1.443750023841858 -0.09624997615814213 -0.8662499761581427 -0.8662499761581419 -0.09624997615814201"
/>
<bondArray>
<bond atomRefs2="a1 a2" order="1" />
<bond atomRefs2="a2 a3" order="2" />
<bond atomRefs2="a2 a4" order="1" />
<bond atomRefs2="a5 a6" order="1" />
<bond atomRefs2="a6 a7" order="1" />
<bond atomRefs2="a6 a8" order="1" />
<bond atomRefs2="a8 a9" order="1" />
</bondArray>
</molecule>
</MChemicalStruct>
<MPolyline id="o2" headLength="0.8" headWidth="0.5">
<MPoint x="-3.513124942779541" y="0.2887499928474426" />
<MPoint x="1.3956250548362732" y="0.24062499403953552" />
</MPolyline>
<MTextBox id="o3" toption="NOROT" fontScale="10.0">
<Field name="text"><![CDATA[cat. {italic}t{font=DEFAULT}-BuOO-{italic}t{font=DEFAULT}-Bu]]></Field>
<MPoint x="-3.465000033378601" y="0.0" />
<MPoint x="1.339799966621399" y="0.0" />
<MPoint x="1.339799966621399" y="-0.8007999999999997" />
<MPoint x="-3.4650000333786" y="-0.8007999999999997" />
</MTextBox>
<MTextBox id="o4" toption="NOROT" fontScale="10.0">
<Field name="text">HBr</Field>
<MPoint x="-1.9249999523162842" y="1.203125" />
<MPoint x="-0.877799952316284" y="1.2031249999999982" />
<MPoint x="-0.877799952316284" y="0.4023249999999985" />
<MPoint x="-1.9249999523162842" y="0.40232500000000027" />
</MTextBox>
</MDocument>
|
The picture is below. One of the words is missing completely.
User 870ab5b546
10-10-2006 17:25:16
Here's another example. Note the number 2 in the textbox is missing from the picture.
Code: |
<?xml version="1.0" ?>
<MDocument>
<MPolyline id="o1" headLength="0.8" headWidth="0.5">
<MPoint x="-3.5612499713897705" y="-0.1443749964237213" />
<MPoint x="-2.1175002455711365" y="-0.1443749964237213" />
</MPolyline>
<MTextBox id="o2" toption="NOROT" fontScale="10.0">
<Field name="text">{size=12}\\u2206</Field>
<MPoint x="-3.3687503933906555" y="0.9625000357627869" />
<MPoint x="1.4360496066093464" y="0.9625000357627869" />
<MPoint x="1.4360496066093464" y="0.03850003576278738" />
<MPoint x="-3.3687503933906537" y="0.03850003576278738" />
</MTextBox>
<MChemicalStruct>
<molecule molID="m1">
<atomArray
atomID="a1 a2 a3 a4 a5 a6 a7 a8 a9 a10"
elementType="C C R C C C O C C R"
sgroupRef="0 0 sg1 0 0 0 0 0 0 sg2"
x2="-8.277499437332153 -6.943820315504118 -5.610141193676082 0.4331251382827759 -0.9005442027654824 -0.9005442027654824 0.4331251382827759 1.7667944793310344 1.7667944793310344 3.10047360115907"
y2="-0.38499999046325684 0.38500000953674307 -0.38499999046325684 1.4437838835022667 0.6737669429432263 -0.8662669381748547 -1.6362838787338951 -0.8662669381748547 0.6737669429432263 -1.6362669381748547"
/>
<bondArray>
<bond atomRefs2="a1 a2" order="2" />
<bond atomRefs2="a4 a5" order="1" />
<bond atomRefs2="a5 a6" order="2" />
<bond atomRefs2="a6 a7" order="1" />
<bond atomRefs2="a7 a8" order="1" />
<bond atomRefs2="a8 a9" order="1" />
<bond atomRefs2="a4 a9" order="1" />
<bond atomRefs2="a8 a10" order="1" />
<bond atomRefs2="a2 a3" order="1" />
</bondArray>
<molecule id="sg1" role="SuperatomSgroup" title="CHO" leftName="OCH" molID="m2">
<atomArray
atomID="a11 a12"
elementType="C O"
attachmentPoint="1 0"
x2="-4.812499742507935 -3.272499742507934"
y2="-0.38499999046325684 -0.38499999046325684"
/>
<bondArray>
<bond atomRefs2="a11 a12" order="2" />
</bondArray>
</molecule>
<molecule id="sg2" role="SuperatomSgroup" title="CHO" leftName="OCH" molID="m3">
<atomArray
atomID="a13 a14"
elementType="C O"
attachmentPoint="1 0"
x2="2.4062501382827755 3.9462501382827764"
y2="-0.8181249797344208 -0.8181249797344208"
/>
<bondArray>
<bond atomRefs2="a13 a14" order="2" />
</bondArray>
</molecule>
</molecule>
</MChemicalStruct>
<MTextBox id="o4" toption="NOROT" fontScale="10.0">
<Field name="text">{size=12}2</Field>
<MPoint x="-10.587499618530273" y="0.38499999046325684" />
<MPoint x="-10.156299618530273" y="0.38499999046325684" />
<MPoint x="-10.156299618530273" y="-0.4774000095367441" />
<MPoint x="-10.58749961853027" y="-0.4774000095367441" />
</MTextBox>
</MDocument>
|
User f359e526a1
10-10-2006 18:15:50
Thanks, I will check it. 4.1.2 is imminent, so I cannot guarantee it will be in that release, but needs fixing certainly.
User 870ab5b546
10-10-2006 19:37:05
Here's another textbox problem. If I am typing text, and I press the subscript button, the text properly subscripts. If I press the subscript button again, the text goes back to normal -- again, good behavior. But now the subscript button is inactive, and I cannot subscript again without first pressing the superscript button twice, or copying and pasting previously subscripted text.
User f359e526a1
11-10-2006 08:37:47
I see, thanks, making an other task...
User 870ab5b546
11-10-2006 11:35:43
And one more textbox enhancement request. Please make the Symbol font available so I can write the characters equivalent to σ, ≡, etc.
ChemAxon 7c2d26e5cf
17-10-2006 11:22:28
We will consider your request.