GUI Fonts Looked Bitmapped on Mac 10.10

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
nikjen2
Posts: 11
Joined: Tue Jan 28, 2014 6:33 pm

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by nikjen2 »

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
Attachments
FC0.14RetinaHack.png
FC0.14RetinaHack.png (425.3 KiB) Viewed 2668 times
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by peterl94 »

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.
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by peterl94 »

Okay, I created another test with icons rasterized at twice the resolution. What does this look like? qt_test2
nikjen2
Posts: 11
Joined: Tue Jan 28, 2014 6:33 pm

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by nikjen2 »

Pixelated, unfortunately...

- Nikolaj
Attachments
IconTest.png
IconTest.png (32.47 KiB) Viewed 2635 times
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by peterl94 »

Thanks, I didn't have much hope that it would work. I have another idea, so I'll be back with another test.
TechZen
Posts: 7
Joined: Sat Nov 15, 2014 2:37 am

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by TechZen »

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!
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
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by peterl94 »

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.
nikjen2
Posts: 11
Joined: Tue Jan 28, 2014 6:33 pm

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by nikjen2 »

TechZen wrote:
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!
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.
Hi TechZen.

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
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by peterl94 »

Oh, I didn't know that. I tried to make it relocatable, but I must have missed a path.
TechZen
Posts: 7
Joined: Sat Nov 15, 2014 2:37 am

Re: GUI Fonts Looked Bitmapped on Mac 10.10

Post by TechZen »

After install QT with homebrew, then copying the libs, then rebuilding again I get

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/
/usr/local/Cellar/qt/4.8.6/lib

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/
Using: open /usr/local/Cellar/qt/4.8.6/qt_test

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
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.
Post Reply