Recent

Author Topic: Fonts as Zero Bytes on SMB Share  (Read 9164 times)

0 Members and 1 Guest are viewing this topic.

Offline AaronH

  • Hero Member
  • *****
  • Posts: 567
  • Gender: Male
Fonts as Zero Bytes on SMB Share
« on: November 25, 2019, 02:24:50 PM »
Hey guys,

I'm getting an interesting issue. For some reason, some of my fonts on the SMB share in InDesign's Document Fonts folder are showing up as Zero Bytes after copying over to it.

On the Desktop, they show as having actual file sizes. Unfortunately the way we have to work here at the shop is on the network, because if I have to do any changes to it, I have to copy back from the server which still produces Zero Byte font files on my desktop.

Any idea why my fonts would show up as Zero Bytes and then of course not work?

Thanks,
Aaron
Mac & Windows | XMF | Fiery | Oris

Offline david

  • WTF?
  • Global Moderator
  • Supreme Ninja
  • *****
  • Posts: 15725
  • Gender: Male
  • arrrrrrrggg....
  • Gender: genderless
Re: Fonts as Zero Bytes on SMB Share
« Reply #1 on: November 25, 2019, 02:47:06 PM »
AFP versus SMB

These were probably copied over as a AFP server mount at one point and now you are using an SMB mount and it doesn't copy over the Mac resource fork.

A lot of times (YMMV), if you are using Indesign and you also have a "Document Fonts" folder residing next to the ID file, it will recognize them, even tho they are zero K.
Prepress guy - doin' jobs one at a time
www.texasgraphics.com

Offline AaronH

  • Hero Member
  • *****
  • Posts: 567
  • Gender: Male
Re: Fonts as Zero Bytes on SMB Share
« Reply #2 on: November 25, 2019, 02:53:39 PM »
That was my problem, InDesign wasn't recognizing the fonts even with the Document Fonts folder in the same location as the INDD file.

That makes sense though about the SMB vs AFP thing though.

I wish we could get our server situation fixed but it's looking like it's not ever going to be fixed.
Mac & Windows | XMF | Fiery | Oris

Offline DigiCorn

  • Terrorizing humans since 1971
  • Supreme Ninja
  • ***
  • Posts: 15986
  • Gender: Male
  • There is no Dana, only Zul!
    • Clerks.
  • Gender: undisclosed
Re: Fonts as Zero Bytes on SMB Share
« Reply #3 on: November 25, 2019, 03:07:05 PM »
AFP versus SMB

These were probably copied over as a AFP server mount at one point and now you are using an SMB mount and it doesn't copy over the Mac resource fork.

A lot of times (YMMV), if you are using Indesign and you also have a "Document Fonts" folder residing next to the ID file, it will recognize them, even tho they are zero K.
If you are archiving Mac fonts to a Windows server using SMB, .zip the fonts BEFORE copying to the server to maintain them.
"Selling my soul would be a lot easier if I could just find it."
– Nikki Sixx

“Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut.”
― Ernest Hemingway

Offline Joe

  • Master of Nothing
  • Administrator
  • Ninja Warlord
  • *****
  • Posts: 38684
  • Gender: Male
    • B4Print.com
  • Gender: male
Re: Fonts as Zero Bytes on SMB Share
« Reply #4 on: November 25, 2019, 03:28:44 PM »
Copy the known good fonts to your Mac via AFP. Now copy them back to the server via SMB. From that point on you should be able to copy those fonts back to a Mac via SMB without them going to 0 kb.
Mac OS 11.5.2 Big Sur | Prinergy 9.0.1.125 | Adobe Creative Cloud 2021 | TWO Fuji CTP Units

I'm Sorry I Hurt Your Feelings When I Said You Were Stupid. I Honestly Thought You Already Knew

Offline AaronH

  • Hero Member
  • *****
  • Posts: 567
  • Gender: Male
Re: Fonts as Zero Bytes on SMB Share
« Reply #5 on: November 25, 2019, 03:40:45 PM »
I tried that. The good fonts are on my desktop, from an AFP location, then unzipped since we still can't unzip on the network, then copied to the SMB share. The fonts all have sizes on the desktop but not all of them do on the SMB share. If copied to the desktop from the SMB share, it keeps the ones that have zero bytes as zero.

The fonts that have zero bytes aren't recognized by Adobe.
Mac & Windows | XMF | Fiery | Oris

Offline Joe

  • Master of Nothing
  • Administrator
  • Ninja Warlord
  • *****
  • Posts: 38684
  • Gender: Male
    • B4Print.com
  • Gender: male
Re: Fonts as Zero Bytes on SMB Share
« Reply #6 on: November 25, 2019, 03:42:13 PM »
Fonts that are zero kb are dead and aren't ever coming back.
Mac OS 11.5.2 Big Sur | Prinergy 9.0.1.125 | Adobe Creative Cloud 2021 | TWO Fuji CTP Units

I'm Sorry I Hurt Your Feelings When I Said You Were Stupid. I Honestly Thought You Already Knew

Offline Joe

  • Master of Nothing
  • Administrator
  • Ninja Warlord
  • *****
  • Posts: 38684
  • Gender: Male
    • B4Print.com
  • Gender: male
Re: Fonts as Zero Bytes on SMB Share
« Reply #7 on: November 25, 2019, 03:44:16 PM »
I tried that. The good fonts are on my desktop, from an AFP location, then unzipped since we still can't unzip on the network, then copied to the SMB share. The fonts all have sizes on the desktop but not all of them do on the SMB share. If copied to the desktop from the SMB share, it keeps the ones that have zero bytes as zero.

The fonts that have zero bytes aren't recognized by Adobe.

So after you have them on the Mac and unzipped and none of them are zero kb and then you copy them via SMB to an SMB mounted share some of them still go to zero kb?
Mac OS 11.5.2 Big Sur | Prinergy 9.0.1.125 | Adobe Creative Cloud 2021 | TWO Fuji CTP Units

I'm Sorry I Hurt Your Feelings When I Said You Were Stupid. I Honestly Thought You Already Knew

Offline AaronH

  • Hero Member
  • *****
  • Posts: 567
  • Gender: Male
Re: Fonts as Zero Bytes on SMB Share
« Reply #8 on: November 25, 2019, 07:22:08 PM »
So after you have them on the Mac and unzipped and none of them are zero kb and then you copy them via SMB to an SMB mounted share some of them still go to zero kb?

Correct.
Mac & Windows | XMF | Fiery | Oris

Offline Joe

  • Master of Nothing
  • Administrator
  • Ninja Warlord
  • *****
  • Posts: 38684
  • Gender: Male
    • B4Print.com
  • Gender: male
Re: Fonts as Zero Bytes on SMB Share
« Reply #9 on: November 25, 2019, 07:26:45 PM »
That doesn't make a lot of sense. Just to be sure....when you copy them from the Mac to the NAS that share was mounted via smb?

If you do a get info on the NAS share it shows it is mounted via smb like this?
Mac OS 11.5.2 Big Sur | Prinergy 9.0.1.125 | Adobe Creative Cloud 2021 | TWO Fuji CTP Units

I'm Sorry I Hurt Your Feelings When I Said You Were Stupid. I Honestly Thought You Already Knew

Offline AaronH

  • Hero Member
  • *****
  • Posts: 567
  • Gender: Male
Re: Fonts as Zero Bytes on SMB Share
« Reply #10 on: November 25, 2019, 07:39:17 PM »
Yep. I've disabled all other forms of connection on the NAS software.
Mac & Windows | XMF | Fiery | Oris

Offline Joe

  • Master of Nothing
  • Administrator
  • Ninja Warlord
  • *****
  • Posts: 38684
  • Gender: Male
    • B4Print.com
  • Gender: male
Re: Fonts as Zero Bytes on SMB Share
« Reply #11 on: November 25, 2019, 08:10:48 PM »
How old is this NAS again? I know we have discussed this on the other thread but I am suspecting that the NAS may be using SMB 1 while your Mac may be using SMB 2/3 and there are known issues if you mix the two versions of SMB. Other than that I am stumped on your network issues.
Mac OS 11.5.2 Big Sur | Prinergy 9.0.1.125 | Adobe Creative Cloud 2021 | TWO Fuji CTP Units

I'm Sorry I Hurt Your Feelings When I Said You Were Stupid. I Honestly Thought You Already Knew

Offline AaronH

  • Hero Member
  • *****
  • Posts: 567
  • Gender: Male
Re: Fonts as Zero Bytes on SMB Share
« Reply #12 on: November 26, 2019, 03:29:24 PM »
its 4-5 years old. It does say it is using SMB 3 according to the NAS OS Update Notes.
Mac & Windows | XMF | Fiery | Oris

Offline Joe

  • Master of Nothing
  • Administrator
  • Ninja Warlord
  • *****
  • Posts: 38684
  • Gender: Male
    • B4Print.com
  • Gender: male
Re: Fonts as Zero Bytes on SMB Share
« Reply #13 on: November 26, 2019, 04:10:44 PM »
Weird. Open a Terminal window on your Mac with your shares mounted and type this in:

Code: [Select]
smbutil statshares -a
That will tell you the version of SMB all shares are using. I just tried it on my Mac and my NetGear NAS shares are all using SMB 1. My Windows 7 shares are using SMB 2.1 and Windows 2012 R2 Server shares are all using SMB 3.02. And they all seem to be working OK for me.

You may want to take a look at this article too: Fix SMB connection problems for Mac
Mac OS 11.5.2 Big Sur | Prinergy 9.0.1.125 | Adobe Creative Cloud 2021 | TWO Fuji CTP Units

I'm Sorry I Hurt Your Feelings When I Said You Were Stupid. I Honestly Thought You Already Knew

Offline AaronH

  • Hero Member
  • *****
  • Posts: 567
  • Gender: Male
Re: Fonts as Zero Bytes on SMB Share
« Reply #14 on: November 27, 2019, 02:04:30 PM »
Mine are all using SMB 3.02.

Quote
Last login: Thu Nov 14 14:33:43 on ttys000
You have mail.
Aarons-iMac:~ ncg$ smbutil statshares -a

==================================================================================================
SHARE                         ATTRIBUTE TYPE                VALUE
==================================================================================================
Office                       
                              SERVER_NAME                   NCGFILESERVER2._smb._tcp.local
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.02
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              DFS_SUPPORTED                 TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              ENCRYPTION_SUPPORTED          TRUE

--------------------------------------------------------------------------------------------------
XMF_Files                     
                              SERVER_NAME                   NCGFILESERVER2._smb._tcp.local
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.02
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              DFS_SUPPORTED                 TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              ENCRYPTION_SUPPORTED          TRUE

--------------------------------------------------------------------------------------------------
Local Backup                 
                              SERVER_NAME                   imac2._smb._tcp.local
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.02
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              SIGNING_REQUIRED              TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              DIR_LEASING_SUPPORTED         TRUE
                              ENCRYPTION_SUPPORTED          TRUE
                              SIGNING_ON                    TRUE

--------------------------------------------------------------------------------------------------
Aarons-iMac:~ ncg$

Are spoiler tags available?

I'll take a look at that link. Thanks Joe.
Mac & Windows | XMF | Fiery | Oris