[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: Newline can cause text before to shift upward
From:       Andrew Parsloe <ajparsloe () gmail ! com>
Date:       2018-09-23 4:31:13
Message-ID: ff5dd2ec-5148-70c0-866e-390805b5807a () gmail ! com
[Download RAW message or body]

On 22/09/2018 2:30 a.m., Scott Kostyshak wrote:
> On Fri, Sep 21, 2018 at 09:49:07AM +1200, Andrew Parsloe wrote:
>> On 21/09/2018 1:38 a.m., Scott Kostyshak wrote:
>>> On Thu, Sep 20, 2018 at 02:23:28PM +0200, Jean-Marc Lasgouttes wrote:
>>>> Le 08/09/2018 à 00:38, Scott Kostyshak a écrit :
>>>>> In some cases, when I break a line, the text to the left of the break is
>>>>> shifted upwards. See the attached screenshots. In case it is difficult
>>>>> to see how "abc" changes from flipping back and forth in your image
>>>>> viewer, you can run the following command:
>>>>>
>>>>>      compare -compose difference 1of2_before_jump.png 2of2_after_jump.png diff.png
>>>>>
>>>>> Would it be a valid feature request to not have the upward shift of
>>>>> "abc" in this situation, or is the "jump" actually desired? If it would
>>>>> be a valid feature request, I would not expect this issue to be high
>>>>> priority.
>>>> I tried briefly and cannot reproduce. I cannot tell where this comes from,
>>>> unfortunately.
>>> Thanks for trying. Interesting. Perhaps it could be a Qt difference
>>> then. I'm on Qt 5.9.5.
>>>
>>> Can anyone else reproduce?
>>>
>>> Scott
>> Yes (windows 7, Qt 5.10.1), but this seems logical to me. Surely the
>> movement of the "abc" in your examples is to accommodate/release the extra
>> vertical space needed by the note inset? Without the inset there is no
>> movement.
> Thanks for reproducing, Enrico and Andrew. I think your diagnoses are
> correct. And although I don't like the shifting, I can't think of a way
> around it.
>
> Scott
But line movement and the separation of lines when a text 
sub-/superscript is inserted does seem excessive, as does the separation 
of the script from the character it is attached to. The result on screen 
is ugly and suggests an effect in the pdf that doesn't occur.

Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic