Search Unity

TrueType font import success?

Discussion in 'Editor & General Support' started by domino, Jul 9, 2006.

  1. domino

    domino

    Joined:
    Jul 9, 2006
    Posts:
    8
    Has anyone out there had success importing TTF fonts?

    Most fonts I've tried crash Unity on import. They're standard Adobe fonts, so I doubt they're encoded improperly...

    The two I've gotten to work only import the "font Material" and "font Texture", but not the third item which seems to be required and are therefore unusable....

    I'm using Unity 1.5 pro on a Macbook Pro for the record.

    Thanks,
    David
     
  2. freyr

    freyr

    Joined:
    Apr 7, 2005
    Posts:
    1,148
    Use the Report Bug application included with Unity to report this as a bug and attach the font to the report.
     
  3. domino

    domino

    Joined:
    Jul 9, 2006
    Posts:
    8
    Ok. Done. :)
     
  4. Bampf

    Bampf

    Joined:
    Oct 21, 2005
    Posts:
    369
    The two TTF fonts I imported worked really well.

    The only problem I've had so far is that left-alignment of those fonts seems to be a bit off. The text tends to drift to the right over multiple lines. Seems to be a feature of proportional fonts. But it's not uniform, some lines align and some drift.

    I haven't isolated the problem to my satisfaction yet, but if at some point I conclude it's a Unity bug I'll submit a bug report.
     
  5. taumel

    taumel

    Joined:
    Jun 9, 2005
    Posts:
    5,292
    Most of my fonts work but i also do have some which don't work...
     
  6. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    If it imports those it also imports the font. Just select the font in the project view (one level above font Material and font Texture) and use GameObject -> Create Other -> Text.

    We are looking at the issue with importing your other true type fonts.
     
  7. domino

    domino

    Joined:
    Jul 9, 2006
    Posts:
    8
    I've figured it out now. I mistakenly thought that the font name text above above Material and Texture was just a grouping header for the font... I didn't realize it was selectable! :oops:

    It's working now.... Thanks. :D