GUI Fonts Looked Bitmapped on Mac 10.10
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: GUI Fonts Looked Bitmapped on Mac 10.10
Hi.
This link http://blog.qt.digia.com/blog/2013/04/2 ... s-and-x11/ implies that it should work.
However, the Open In Low Resolution was checked and disabled, so I needed to do the following hack http://apple.stackexchange.com/question ... d-disabled to allow FreeCAD to run in HiDPI.
And now it does
So adding that NSHighResolutionCapable item in the plist is proably the way forward, assuming it does not hurt non-retina installations.
Now we just need high resolution versions of all the icons
- Nikolaj
This link http://blog.qt.digia.com/blog/2013/04/2 ... s-and-x11/ implies that it should work.
However, the Open In Low Resolution was checked and disabled, so I needed to do the following hack http://apple.stackexchange.com/question ... d-disabled to allow FreeCAD to run in HiDPI.
And now it does
So adding that NSHighResolutionCapable item in the plist is proably the way forward, assuming it does not hurt non-retina installations.
Now we just need high resolution versions of all the icons
- Nikolaj
- Attachments
-
- FC0.14RetinaHack.png (425.3 KiB) Viewed 2668 times
Re: GUI Fonts Looked Bitmapped on Mac 10.10
Good, I'm glad it is a simple fix. The icons are SVGs, so I wonder if it is possible to render them at twice the resolution.
Re: GUI Fonts Looked Bitmapped on Mac 10.10
Okay, I created another test with icons rasterized at twice the resolution. What does this look like? qt_test2
Re: GUI Fonts Looked Bitmapped on Mac 10.10
Pixelated, unfortunately...
- Nikolaj
- Nikolaj
- Attachments
-
- IconTest.png (32.47 KiB) Viewed 2635 times
Re: GUI Fonts Looked Bitmapped on Mac 10.10
Thanks, I didn't have much hope that it would work. I have another idea, so I'll be back with another test.
Re: GUI Fonts Looked Bitmapped on Mac 10.10
It's a binary executable and couple of libs. How exactly or where to I run it from? I don't do QT so I don't know where to park this.peterl94 wrote:Okay, TechZen, or anyone with retina mac, can you run the following test app and then post a screenshot of it? qt_test
Thanks!
Re: GUI Fonts Looked Bitmapped on Mac 10.10
You should be able to just double click on the executable. Thanks for reminding me about this, I had forgotten there was a couple more things I was going to try.
Re: GUI Fonts Looked Bitmapped on Mac 10.10
Hi TechZen.TechZen wrote:It's a binary executable and couple of libs. How exactly or where to I run it from? I don't do QT so I don't know where to park this.peterl94 wrote:Okay, TechZen, or anyone with retina mac, can you run the following test app and then post a screenshot of it? qt_test
Thanks!
You have to move/copy the libs to somewhere else before the executable will run. I seem to have placed them in /usr/local/Cellar/qt/4.8.6/lib/ which will only work if you have Homebrew installed.
- Nikolaj
Re: GUI Fonts Looked Bitmapped on Mac 10.10
Oh, I didn't know that. I tried to make it relocatable, but I must have missed a path.
Re: GUI Fonts Looked Bitmapped on Mac 10.10
After install QT with homebrew, then copying the libs, then rebuilding again I get
/usr/local/Cellar/qt/4.8.6/lib
Using: open /usr/local/Cellar/qt/4.8.6/qt_test
gives:
I never get anything but that last error regardless. Seems to like the test app has a hardcoded path it can't find on my machine.
Code: Select all
/usr/local/Cellar/qt/4.8.6
./ QMLViewer.app/ phrasebooks/
../ README plugins/
Assistant.app/ bin/ qt_test
Designer.app/ imports/ qttracereplay.app/
Frameworks/ include/ tests/
INSTALL_RECEIPT.json lib/ translations/
Linguist.app/ mkspecs/
Code: Select all
./ QtWebKit.framework/
../ QtXml.framework/
QtCore.framework/ QtXmlPatterns.framework/
QtDeclarative.framework/ libQtCLucene.4.8.6.dylib
QtDesigner.framework/ libQtCLucene.4.8.dylib@
QtDesignerComponents.framework/ libQtCLucene.4.dylib@
QtGui.framework/ libQtCLucene.dylib@
QtHelp.framework/ libQtCLucene.prl
QtMultimedia.framework/ libQtCore.4.dylib
QtNetwork.framework/ libQtGui.4.dylib
QtOpenGL.framework/ libQtUiTools.a
QtScript.framework/ libQtUiTools.prl
QtScriptTools.framework/ libQtUiTools_debug.a
QtSql.framework/ libQtUiTools_debug.prl
QtSvg.framework/ phonon.framework/
QtTest.framework/ pkgconfig/
gives:
Code: Select all
/usr/local/Cellar/qt/4.8.6/qt_test ; exit;
dyld: Library not loaded: ./libQtGui.4.dylib
Referenced from: /usr/local/Cellar/qt/4.8.6/qt_test
Reason: image not found
Trace/BPT trap: 5