Author Topic: Font Maker needs FreeType64.dylib on Mac  (Read 9709 times)

BrendanW

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Font Maker needs FreeType64.dylib on Mac
« on: December 16, 2014, 01:49:22 AM »
Hi, I've installed the Unity 5 beta and ran into this when trying to use the Font Maker:

"Assets/NGUI/Editor/FreeType64.dylib is missing"

There's a DLL for the windows version of the editor but we'll need a dylib for Mac.
Any chance anyone has this so I don't have to bother trying to get the source and compile it myself? :)

Cheers

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #1 on: December 17, 2014, 02:58:39 PM »
Unfortunately I have no way of compiling it myself at this time, but if you do it, please share and I will be happy to include it for others.

steddyman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #2 on: February 15, 2015, 04:42:02 PM »
Has there been any update on this?  Unity 5 is now at RC1 stage and likely only a few weeks away from release.

I can't find any information on where to find or compile this file.

steddyman

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #3 on: February 15, 2015, 06:00:13 PM »
Managed to work out what was required and have compiled a version.  I can't work out how to configure the MAKE files to produce a single .dylib file, but the attached two files will work together if placed in the NGUI/Editor directory.

However, the maximum attached file size for this forum is 1mb, and the .a file is 4mb in size (and 1.5mb zipped) so I cannot attach them.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #4 on: February 17, 2015, 09:20:19 PM »
You can send me a download link to support at tasharen.com and I will post it.

zbyhoo

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #5 on: April 08, 2015, 10:09:18 AM »
Am I missing something, or NGUI package still doesn't contain FreeType64.dylib?
If it's true, where can I get it?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #6 on: April 09, 2015, 03:34:58 PM »
I never received the file, so no, it still doesn't. Someone mentioned that simply renaming FreeType.dylib to FreeType64.dylib works, but if that's the case I am not sure why that would be so, since it's a 32-bit library and Unity 5 is 64-bit.

yo_milo

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 2
  • Posts: 36
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #7 on: April 28, 2015, 11:50:25 AM »
ArenMook, I sent you an e-mail with the Dll files... Thank you for your support...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #8 on: April 29, 2015, 09:11:48 PM »
You sent me a zip file with the 3 DLLs that already come with NGUI, so I'm not sure how that's supposed to help.

yo_milo

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 2
  • Posts: 36
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #9 on: April 30, 2015, 11:18:14 AM »
Sorry, I was caught in confusion...

I changed the dylib name to 64, it did not work (Unity crashed every time I opened the font maker).

I will just do my bitmap using a Pc...

Or, does the old old way, using BMFont still works?

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #10 on: April 30, 2015, 11:27:33 AM »
This works like a charm:
http://kvazars.com/littera/

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #11 on: April 30, 2015, 06:38:44 PM »
You can download FreeType source code on the mac and compile it into DLLs. I just need someone to do that to create the 64-bit dylib.

thefudster

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #12 on: July 17, 2015, 04:55:21 AM »
I noticed it's been a few months and the FreeType64.dylib is still missing.

X11 comes with a copy of the freetype lib so I thought I'd grab that check to see if it is 64.

On OSX you can use the file command to get the architecture of a library file so I checked it and got the following info:
$ file ./FreeType64.dylib
./FreeType64.dylib: Mach-O universal binary with 2 architectures
./FreeType64.dylib (for architecture i386):   Mach-O dynamically linked shared library i386
./FreeType64.dylib (for architecture x86_64):   Mach-O 64-bit dynamically linked shared library x86_64

Sure enough it contains both 32-bit and 64-bit architectures.

So I installed it into the NGUI directory and copied it to the location the FontMaker wanted it installed to and sure enough Unity crashed.

Any idea what the problem is? I've clearly got a copy of the 64-bit library but the crash remains.

Btw, just now I checked the FreeType.dylib that is included with NGUI and it ALSO has the 64-bit architecture included.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Font Maker needs FreeType64.dylib on Mac
« Reply #13 on: July 21, 2015, 09:41:09 AM »
My understanding is that the dylib that comes with NGUI crashes on 64-bit systems, so even though it works on 32-bit systems, it doesn't on 64-bit. I don't know why this is.