Search Unity

Mixed-Case Font

Discussion in 'Editor & General Support' started by mgravelle, Aug 18, 2005.

  1. mgravelle

    mgravelle

    Joined:
    Jun 22, 2005
    Posts:
    35
    I need advice on how to create a mixed-case GUIText. How do I lay out the Font Texture and include both lower and upper-case letters?

    I was able to use the default font to lay out an all-caps font, but I just couldn't find the pattern for mixed case.

    Thanks!
    - Matt
     
  2. Jonathan Czeck

    Jonathan Czeck

    Joined:
    Mar 17, 2005
    Posts:
    1,713
    Hey Matt. :)

    It looks like you just need to extend the bottom of the texture 4 more rows and put in the last row of this table: http://www.lookuptables.com/

    Then of course take off the "convert to upper case" option in the Font.

    -Jon
     
  3. mgravelle

    mgravelle

    Joined:
    Jun 22, 2005
    Posts:
    35
    Thanks, that worked. I created a 16x16 grid and it ended up just having a bunch of dead space. One of the reasons it wasn't working for me earlier is because I tried having a 16x8 grid of characters. . . but it didn't seem to like that. I might have messed something else up though.

    - Matt
     
  4. Jonathan Czeck

    Jonathan Czeck

    Joined:
    Mar 17, 2005
    Posts:
    1,713
    Actually I ran into weird problems with 16 high and 8 wide grid too.

    Perhaps this is a bug?

    -Jon