finding fontfile size using java

Discussion in 'Mac Programming' started by ashokformac, May 21, 2007.

  1. ashokformac macrumors member

    Joined:
    Mar 26, 2007
    #1
    I am developing a program in java on mac os ..
    when i try to find filesize it is giving me '0 long' on font file(actual size is some 2000 bytes ) but on other files it is working properly ...

    can any one know the answer ,, please help me..

    thanks in advance ..
     
  2. iMeowbot macrumors G3

    iMeowbot

    Joined:
    Aug 30, 2003
    #2
    On the Mac, you do need to remember to check for both the file itself (in traditional Mac nomenclature, the data fork) and any associated resource fork. Mac font files can go either way depending on the type.
     

Share This Page