Text Positioning Off

denismcmahon
denismcmahon Community Member Posts: 2
Hi there, I am working on a course built in Lectora v11.2a.



I have had a number of instances where I have placed text in a certain position onscreen, and when published it is then displaying off by 5 - 10 pixels upwards or downwards. I can then offset it in the Lectora file to compensate, but wondering if anyone else has come across this and has any solution?



It always seems to happen with text of a smaller point size.

Comments

  • sirwise23
    sirwise23 Community Member Posts: 441 ☆ Roadie ☆
    I have had the same issue with this. According to Trivantis we should just display the text as image. I have written them to my findings on this but it hasn't generated a reply from them.





    I have installed a copy of Lectora X just to see the line spacing difference in them.





    This is a sample of the HTML code from a SCORM publish in Lectora X:



    ; <p legLH="1.156" style="margin-left:0px;text-indent:0px;line-height:1.156;margin-top:0px;margin-bottom:0px;text-align:left;" >



    Notice the default line-height is 1.156.



    Not this is the SAME AWT file when opened on Lectora 11 and published with the same settings:





    ; <p legLH="1.156" style="margin-left:0px;text-indent:0px;line-height:0.938;margin-top:0px;margin-bottom:0px;text-align:left;" >



    This is the SAME line of code. In Lectora 11 the default line-height is set to 0.938





    As a test I did this:



    I published my course using Lectora 11.

    I used a search and replace program. I searched for .0938 and replaced them all with 1.156.



    I uploaded the course to my LMS and it looks good now, just like it used to with Lectora X.



    It seems pretty obvious that if a line height is over 1 and the margin of the next line isn't moved, it is going to invade on the next line and crunch the text up.





    I have been getting away with publishing text as an image but when I need the context of a text block to change, I can't always do this. I have been doing the search and replace and that has been working.





    I would love to hear what Trivantis says on this. I wrote them this info on a support E-mail and their reply was "show text as an image"



    -Laz-