As seen in the attached image, Use of Dynamic Fonts with Rich Text markups like “Bold” seem to not function correctly on android. This example is using the default Arial font but the results are the same with other fonts. Anyone have any idea/fixes? I have considered using separate fonts and GUIStyles for regular and bold but this sort of defeats the purpose of dynamic fonts, doesn’t it?
Thanks,
Mike
Had the same problem. I fixed this by not only using an arial.ttf asset instead of Unity’s default, but also by explicitly importing the TTF files for the desires style as well - in your case arialbd.ttf for Bold.
Note you don’t have to actually use or reference the arialbd.ttf asset in your scene, just using the regular arial.ttf and then selection the Bold style will do the trick.
Each .ttf file contains only ONE style, AFAIC. The reason why it’s working under Windows (or Mac as well?) anyway is probably that the Bold version is usually also installed in the Windows fonts folder, so the actual system file is used for different styles. No idea why it’s working on iOS - maybe the other styles are installed there per default as well?