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

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


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

2017-09-25 Thread Zhexuan Gong
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

-- Forwarded message --
From: Zhexuan Gong 
Date: Sun, Jun 5, 2016 at 9:05 PM
Subject: Blurry inserted figures for retina display in Lyx 2.2 Mac
To: lyx-us...@lists.lyx.org


Dear Lyx developers,

I've just installed the official release of Lyx 2.2 Mac version. Thanks a
lot for your team's hard work! It's really awesome and the text in the
workspace is super sharp right now. However, the display of inserted
figures in the Lyx workspace is still blurry and non-retina (see my
screenshot at http://i.imgur.com/mI849a8.jpg) on my retina display Macbook.
Are you aware of this problem and is there a plan to fix it in a future
version?

Thanks a lot!

Zhexuan


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

2016-06-06 Thread Richard Heck

Questions like this one are better sent to the developers' list, so I'm
forwarding it there.

 Forwarded Message 
Subject:Blurry inserted figures for retina display in Lyx 2.2 Mac
Date:   Sun, 5 Jun 2016 21:05:03 -0400
From:   Zhexuan Gong 
To: lyx-us...@lists.lyx.org



Dear Lyx developers,

I've just installed the official release of Lyx 2.2 Mac version. Thanks
a lot for your team's hard work! It's really awesome and the text in the
workspace is super sharp right now. However, the display of inserted
figures in the Lyx workspace is still blurry and non-retina (see my
screenshot at http://i.imgur.com/mI849a8.jpg) on my retina display
Macbook. Are you aware of this problem and is there a plan to fix it in
a future version?

Thanks a lot!

Zhexuan