Search Unity

BestFit is only supported for dynamic fonts. Font 'font-name' is not dynamic.

Discussion in 'Editor & General Support' started by Zimbres, Jan 10, 2020.

  1. Zimbres

    Zimbres

    Joined:
    Nov 17, 2014
    Posts:
    100
    I've researched briefly about this, and looks like there's some differences between "dynamic" and custom fonts, so, as the message says, the non-dynamic is not able to be used for Best Fit.

    So... is there any exit to this? Is it possible to convert a custom font to this Dynamic format? Or any other solutions for it?

    Thanks,
     
  2. Zimbres

    Zimbres

    Joined:
    Nov 17, 2014
    Posts:
    100
    No one? I'm having trouble googling about this. Like... what is called the "non-dynamic" font? Any bit of information helps
     
  3. Zimbres

    Zimbres

    Joined:
    Nov 17, 2014
    Posts:
    100
    Anything?
     
  4. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    2,925
    Dnyamic font means that unity will generate needed font Charterers at runtime.
    This only works for "normal" fonts and not custom layoutend / pre-renderd bitmap fonts.
    What are you using as "custom font".
     
    Zimbres likes this.
  5. Zimbres

    Zimbres

    Joined:
    Nov 17, 2014
    Posts:
    100
    So "normal" fonts are something like vector-based fonts? Do you know if there's any way to convert bitmap fonts to "normal", or anything close to this?
     
  6. Zimbres

    Zimbres

    Joined:
    Nov 17, 2014
    Posts:
    100
    Anyway, Malzbier, you helped me a lot. I'm googling out, there's some solutions to convert a bitmap font for an outlined one. I've have not found no simple solution yet, but, my googling is way better now. Thanks!
     
unityunity