ToolTips and Hindi Font
Hello, I have this font family
It all works fine in Blend but not in Unity - Hindi font (Noto Sans Devanagari). Its OK on normal Texts but it fails on ToolTips, it shows up as a bunch of question marks.
Is there a way to solve this? Thank you.
Code: Select all
<FontFamily x:Key="Font.Family.Default">
Assets/Fonts/#SF UI Display,
Assets/Fonts/#Segoe UI Emoji,
Assets/Fonts/#Noto Sans Devanagari,
Assets/Fonts/#Noto Sans KR,
Assets/Fonts/#Noto Sans Arabic,
Assets/Fonts/#Noto Sans SC
</FontFamily>Is there a way to solve this? Thank you.
-
-
sfernandez
Site Admin
- Posts: 3363
- Joined:
Re: ToolTips and Hindi Font
Did you get any errors about missing fonts when importing your xamls?
In your FontFamily resource you wrote the path Assets/Fonts/, it is because you have a folder named Assets next to the xaml where the FontFamily is defined? or do you mean the /Assets folder of the Unity project? In that case you have to prefix the folder with a slash to indicate it should look from the root of the project:
In your FontFamily resource you wrote the path Assets/Fonts/, it is because you have a folder named Assets next to the xaml where the FontFamily is defined? or do you mean the /Assets folder of the Unity project? In that case you have to prefix the folder with a slash to indicate it should look from the root of the project:
Code: Select all
<FontFamily x:Key="Font.Family.Default">
/Assets/Fonts/#SF UI Display,
/Assets/Fonts/#Segoe UI Emoji,
/Assets/Fonts/#Noto Sans Devanagari,
/Assets/Fonts/#Noto Sans KR,
/Assets/Fonts/#Noto Sans Arabic,
/Assets/Fonts/#Noto Sans SC
</FontFamily>Re: ToolTips and Hindi Font
No, no error. The font works fine on the rest of the UI. Its just the tooltips.
Yes, its a folder next to xaml.it is because you have a folder named Assets next to the xaml where the FontFamily is defined?
-
-
sfernandez
Site Admin
- Posts: 3363
- Joined:
Re: ToolTips and Hindi Font
I'm not able to reproduce it, could you please create a small project where this is happening and attach it/provide a link?
Who is online
Users browsing this forum: No registered users and 12 guests