Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    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:
    50
    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?
     
unityunity