Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

OTF Font Rendering Issue

Discussion in '5.3 Beta' started by Dave29483, Nov 9, 2015.

  1. Dave29483

    Dave29483

    Joined:
    Nov 21, 2013
    Posts:
    13
    -- Edit --

    Seems it was an issue with a single font. Replacing it has resolved the issue. All other OTF fonts work fine.

    ---

    So far, all versions of Unity 5.3 beta have an issue displaying OTF fonts correctly. I came to this conclusion after trying to figure out why all of my text labels were appearing above the buttons, instead of on them.

    If I use a TTF font, the problem does not exist.

    Seems to be an issue with vertical alignment between OTF and TTF fonts.

    Anyone else able to confirm this being a problem?
     
    Last edited: Nov 18, 2015
  2. Huacanacha

    Huacanacha

    Joined:
    Aug 16, 2013
    Posts:
    37
    I have this issue too as of 5.3.0f1 (haven't checked f2 yet).

    Some fonts that were working in Unity 4.6 now render above the text area. It seems dynamic fonts are fine, fixed fonts (with prebuilt font texture based on specified character set) are not. Unfortunately we can't replace all fonts with dynamic as we need to support a legacy UI system for part of out app. The same thing happens for OTF and TTF fonts, only difference is dynamic vs specified character set. I've even duplicated a font, one dynamic one using ASCII default and the dynamic renders correctly, ASCII one does not.

    To fix this yourself you just used a different font?