Author Topic: Problem with Font Maker display  (Read 8883 times)

adamnorton

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 5
    • View Profile
Problem with Font Maker display
« on: March 14, 2014, 04:51:07 PM »
I have the latest Unity, and what I believe is the latest NGUI. (v3.5.4)

My problem is I need to make a font. However, when I select NGUI/Open/Font Maker... the window opens sometimes, but there is nothing in it...just an empty window.  Then sometimes the window does not open at all. 

I don't have any errors, this happens even in an empty project with nothing in it but NGUI installed.  I've restarted, I've set my layout to default.. everything I can find that people have said to try.

Any ideas?

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem with Font Maker display
« Reply #1 on: March 14, 2014, 08:14:57 PM »
That sounds very odd. No errors at all in the console log?

adamnorton

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: Problem with Font Maker display
« Reply #2 on: March 15, 2014, 11:37:40 AM »
Actually, I had my console filters set wrong and didn't notice it.  I do have what looks to me like an error regarding NGUI and access to a path in the FreeType.cs script.  I have no idea how to fix it though.  Maybe you'll know by seeing the message.

Here's the error:

UnauthorizedAccessException: Access to the path "/usr/local/lib" is denied.

System.IO.Directory.CreateDirectoriesInternal (System.String path) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/Directory.cs:131)

System.IO.Directory.CreateDirectory (System.String path) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/Directory.cs:96)

FreeType.get_isPresent () (at Assets/NGUI/Scripts/Editor/FreeType.cs:318)

UIFontMaker.OnGUI () (at Assets/NGUI/Scripts/Editor/UIFontMaker.cs:179)

System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem with Font Maker display
« Reply #3 on: March 15, 2014, 05:59:53 PM »
Maybe you don't have the privileges? Take FreeType.dylib and copy it to /usr/local/lib

If the /usr/local/lib doesn't exist, create it first.

adamnorton

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: Problem with Font Maker display
« Reply #4 on: March 16, 2014, 03:15:16 PM »
Thank you,

That worked.  I actually didn't have the /local/lib folder at all.  I'm new to Mac as wells NGUI, and didn't realize how to show my hidden folder.  Thanks for your help, everything seems to be working fine now. 

- Adam