Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Jean-Marc Lasgouttes

Le 03/02/2018 à 21:45, Zhexuan Gong a écrit :
Just found that turning off the pixel map caching fixed the math font 
problem on 2.3.0rc2. However, 2.2.3 works fine even with pixel map 
caching on.


I might have broken the Pixmap cache, since I have no way to test it on 
linux. I will take a look next week.


BTW, is there a reason why you enabled the pixmap cache? I was thinking 
about removing it, actually.


Concerning your 2.3 screenshot, it is not only the blur that is wrong, 
many letters are not where they are supposed to be. Can you show the 
screenshot of 2.3.0rc2 without pixmap cache?


JMarc


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Zhexuan Gong
Just found that turning off the pixel map caching fixed the math font
problem on 2.3.0rc2. However, 2.2.3 works fine even with pixel map caching
on.

On Sat, Feb 3, 2018 at 1:42 PM, Zhexuan Gong  wrote:

> It could be the macOS version then. I'm using the latest macOS 10.13.3.
> There must be something different with the 2.3.0rc2, because 2.2.3 works
> perfectly.
>
> On Sat, Feb 3, 2018 at 12:31 PM, Joel Kulesza  wrote:
>
>> On Sat, Feb 3, 2018 at 11:51 AM, Zhexuan Gong 
>> wrote:
>>
>>> Hi Scott,
>>>
>>> Yes please see attached for a minimum lyx file that produces the math
>>> font issue, and two screenshots using Lyx 2.2.3 stable and 2.3.0rc2. The
>>> 2.2.3 has no problem with the math font.
>>>
>>> Best,
>>>
>>> Zhexuan
>>>
>>
>> Thank you for providing a MWE.  Unfortunately, I cannot reproduce the
>> issue with the distributed 2.3.0rc2 on my OS X 10.11.6 iMac with 5k Retina
>> display.  Please see the attached for what I see in LyX and my system
>> properties.
>>
>> - Joel
>>
>
>


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Joel Kulesza
On Sat, Feb 3, 2018 at 1:42 PM, Zhexuan Gong  wrote:

> It could be the macOS version then. I'm using the latest macOS 10.13.3.
> There must be something different with the 2.3.0rc2, because 2.2.3 works
> perfectly.
>

I recall there being some other issues with 10.12 (which I'll test tonight;
heading out now).  However, I don't have access to 10.13 currently.


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Zhexuan Gong
It could be the macOS version then. I'm using the latest macOS 10.13.3.
There must be something different with the 2.3.0rc2, because 2.2.3 works
perfectly.

On Sat, Feb 3, 2018 at 12:31 PM, Joel Kulesza  wrote:

> On Sat, Feb 3, 2018 at 11:51 AM, Zhexuan Gong 
> wrote:
>
>> Hi Scott,
>>
>> Yes please see attached for a minimum lyx file that produces the math
>> font issue, and two screenshots using Lyx 2.2.3 stable and 2.3.0rc2. The
>> 2.2.3 has no problem with the math font.
>>
>> Best,
>>
>> Zhexuan
>>
>
> Thank you for providing a MWE.  Unfortunately, I cannot reproduce the
> issue with the distributed 2.3.0rc2 on my OS X 10.11.6 iMac with 5k Retina
> display.  Please see the attached for what I see in LyX and my system
> properties.
>
> - Joel
>


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Scott Kostyshak
On Sat, Feb 03, 2018 at 08:08:03PM +, Joel Kulesza wrote:

> I don't recall having done so and don't see any QT variables set:
> 
> 9997 jkulesza@tempest[~]> env | grep QT
> 9998 jkulesza@tempest[~]>

OK thanks for checking.

Scott


signature.asc
Description: PGP signature


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Joel Kulesza
On Sat, Feb 3, 2018 at 12:39 PM, Scott Kostyshak  wrote:

>
> Does anyone have suggestions for especific environment variables that
> Zhexuan could test to see if it fixes things? e.g., could the
> environment variables QT_AUTO_SCREEN_SCALE_FACTOR, QT_SCALE_FACTOR, and
> QT_SCREEN_SCALE_FACTORS be of potential use here? They are documented
> here:
>
>   http://doc.qt.io/qt-5/highdpi.html
>
> Joel, did you by chance set one of those environment variables in the
> past?


I don't recall having done so and don't see any QT variables set:

9997 jkulesza@tempest[~]> env | grep QT
9998 jkulesza@tempest[~]>

- Joel


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Scott Kostyshak
On Sat, Feb 03, 2018 at 07:31:15PM +, Joel Kulesza wrote:
> On Sat, Feb 3, 2018 at 11:51 AM, Zhexuan Gong  wrote:
> 
> > Hi Scott,
> >
> > Yes please see attached for a minimum lyx file that produces the math font
> > issue, and two screenshots using Lyx 2.2.3 stable and 2.3.0rc2. The 2.2.3
> > has no problem with the math font.
> >
> > Best,
> >
> > Zhexuan
> >
> 
> Thank you for providing a MWE.  Unfortunately, I cannot reproduce the issue
> with the distributed 2.3.0rc2 on my OS X 10.11.6 iMac with 5k Retina
> display.  Please see the attached for what I see in LyX and my system
> properties.
> 
> - Joel

The .lyx example file and screenshots are perfect. Thank you, Zhexuan.

Stephan, are you able to reproduce? I forget whether you have a retina
display. In either case, do you have any intuition on whether the
difference between 2.2.3 and 2.3.0rc2 is due to our change of Qt library
or a change in our code?

Does anyone have suggestions for especific environment variables that
Zhexuan could test to see if it fixes things? e.g., could the
environment variables QT_AUTO_SCREEN_SCALE_FACTOR, QT_SCALE_FACTOR, and
QT_SCREEN_SCALE_FACTORS be of potential use here? They are documented
here:

  http://doc.qt.io/qt-5/highdpi.html

Joel, did you by chance set one of those environment variables in the
past?

Scott


signature.asc
Description: PGP signature


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-03 Thread Scott Kostyshak
On Sat, Feb 03, 2018 at 06:12:38PM +, Zhexuan Gong wrote:
> Hi Scott,
> 
> Thanks for your hard work and for asking me to test again! Unfortunately,
> the Lyx 2.3.0rc2 did not fix the blurry figures on Mac retina display and
> the disappearing tabs I mentioned in the other email either. What's worse
> is that the math font is screwed up now and having wrong sizes here and
> there (see attached screeenshot).

Thanks a lot for testing, Zhexuan, and for the useful screenshot. Dang,
I was hoping that the blurry figures would be improved.

As for the math font, could you please give a comparable screen shot
with the stable LyX version you are using (e.g. 2.2.3), so that it is
easy to see the "before" and "after"?

Actually, if you don't mind, could you please make a minimal example
.lyx file and take a screenshot with both the stable LyX version and
with LyX 2.3.0rc2? The reason this would be useful is that if you send
us the .lyx file, we could then send the same .lyx file to other Mac
users and ask them to provide screenshots of what they see, so that we
can compare across all. A minimal example in this case would contain the
paragraph that you showed with the math, but without the figure and
without the notes, and without any changed document settings. Let me
know if you have questions on what I'm asking for.

I'm not very hopeful that we will improve the blurry issue that you see
for 2.3.0 (hopefully for a following version we can), but I think
there's at least a chance that we can fix the wrong sizes of the math.
If the issue comes from a change in LyX's internal code, we might be
able to fix it. If the issue comes from the fact that we use a newer Qt
library, then we probably won't be able to do anything about it.

Thanks for your help,

Scott


signature.asc
Description: PGP signature


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2018-02-02 Thread Scott Kostyshak
On Sat, Sep 30, 2017 at 05:38:59PM +, Scott Kostyshak wrote:
> On Wed, Sep 27, 2017 at 05:03:11PM +, Zhexuan Gong wrote:
> > Dear Scott,
> > 
> > Thanks for the reply! Yes I'd be happy to test the 2.3.0rc1 to see if the
> > problem persists.
> > 
> > Best,
> > 
> > Zhexuan
> 
> 
> Dear Zhexuan,
> 
> Great, thanks for being willing to test! You can subscribe to
> lyx-announce [1] if you want, but I made a note to myself to also send
> you an email directly.

Dear Zhexuan,

Thanks again for being willing to test. We would be interested in your
feedback on how LyX 2.3.0rc2 works for you on your Mac retina display.
Please see information for how to download 2.3.0rc2 here:

https://www.mail-archive.com/search?l=mid&q=20180131063641.otaji7vmdbqehima%40steph

Note that you should not use 2.3.0rc2 for serious work.

Thanks for your help,

Scott


signature.asc
Description: PGP signature


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2017-09-30 Thread Scott Kostyshak
On Wed, Sep 27, 2017 at 05:03:11PM +, Zhexuan Gong wrote:
> Dear Scott,
> 
> Thanks for the reply! Yes I'd be happy to test the 2.3.0rc1 to see if the
> problem persists.
> 
> Best,
> 
> Zhexuan


Dear Zhexuan,

Great, thanks for being willing to test! You can subscribe to
lyx-announce [1] if you want, but I made a note to myself to also send
you an email directly.

Thanks,

Scott


[1] https://www.lyx.org/MailingLists#toc4

> On Wed, Sep 27, 2017 at 12:44 PM, Scott Kostyshak  wrote:
> 
> > On Mon, Sep 25, 2017 at 06:21:20PM +, Zhexuan Gong wrote:
> > > Dear Lyx developers,
> > >
> > > It looks like this problem is still not fixed in the latest Lyx 2.2.3 Mac
> > > version. Has anyone been working on this?
> > >
> > > Thanks a lot!
> > >
> > > Zhexuan
> >
> > Dear Zhexuan,
> >
> > Thank you for your persistence! I think that part of the problem is that
> > LyX developers do not all have access to retina screens.
> >
> > Would you be willing to test 2.3.0rc1 when it is available in a couple
> > of weeks? It would be good to know if you still see the problem with
> > 2.3.0rc1.
> >
> > Thanks,
> >
> > Scott
> >


signature.asc
Description: PGP signature


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2017-09-27 Thread Zhexuan Gong
Dear Scott,

Thanks for the reply! Yes I'd be happy to test the 2.3.0rc1 to see if the
problem persists.

Best,

Zhexuan



On Wed, Sep 27, 2017 at 12:44 PM, Scott Kostyshak  wrote:

> On Mon, Sep 25, 2017 at 06:21:20PM +, Zhexuan Gong wrote:
> > Dear Lyx developers,
> >
> > It looks like this problem is still not fixed in the latest Lyx 2.2.3 Mac
> > version. Has anyone been working on this?
> >
> > Thanks a lot!
> >
> > Zhexuan
>
> Dear Zhexuan,
>
> Thank you for your persistence! I think that part of the problem is that
> LyX developers do not all have access to retina screens.
>
> Would you be willing to test 2.3.0rc1 when it is available in a couple
> of weeks? It would be good to know if you still see the problem with
> 2.3.0rc1.
>
> Thanks,
>
> Scott
>


Re: Fwd: Blurry inserted figures for retina display in Lyx 2.2 Mac

2017-09-27 Thread Scott Kostyshak
On Mon, Sep 25, 2017 at 06:21:20PM +, Zhexuan Gong wrote:
> Dear Lyx developers,
> 
> It looks like this problem is still not fixed in the latest Lyx 2.2.3 Mac
> version. Has anyone been working on this?
> 
> Thanks a lot!
> 
> Zhexuan

Dear Zhexuan,

Thank you for your persistence! I think that part of the problem is that
LyX developers do not all have access to retina screens.

Would you be willing to test 2.3.0rc1 when it is available in a couple
of weeks? It would be good to know if you still see the problem with
2.3.0rc1.

Thanks,

Scott


signature.asc
Description: PGP signature