Skip to main content

All Questions

Tagged with
1 vote
1 answer
398 views

How to add a fallback font to an existing Unity game?

I am trying to make a mod that will fix a game that failed to ship all used fonts with it. For example, this code point displays in Windows but not under Wine: ✔ U+2713 (The reason seems to be a ...
user2771324's user avatar
2 votes
1 answer
662 views

Getting a list of all supported characters in a Font

I am attempting to create my own font fallback system for multilanguage support using UI Toolkit in Unity (Label class). This UI system does not intrinsically support fallback fonts. I have some ...
mike's user avatar
  • 481
0 votes
1 answer
80 views

Getting text dimensions with TextGenerator.GetPreferredHeight/Width not working

I am using Unity 2021.3.3f1 and trying to make a pop up with a sprite as a background, where the size of this sprite adjusts to the size necessary to fit the text. From what I understand, ...
ChrisC's user avatar
  • 116
0 votes
1 answer
355 views

How to check the font on a Text Mesh Pro component

I have a GameObject with a Text Mesh Pro component. I want to check if the Font applied to the Text Mesh Pro component is a particular font (let's say it's Comic Sans) I can get the font name by first ...
kanamekun's user avatar
  • 369
1 vote
0 answers
344 views

How to achieve something like anti-aliasing on 8x8 pixel font using TextMeshPro

I use TextMeshPro for my UI text. My text is currently very crispy and looks like this I'd prefer if it looked more like text in 90s arcade games, with more "...
DyingIsFun's user avatar
  • 1,307
0 votes
1 answer
267 views

2-Color Fonts in Unity? (so maybe called 3-Color including transparent alpha?)

I have been trying to make my game title screen look better. I realised it was because all my fonts have just one colour. I read some very old threads about a Editor Scripts to extract the font to png ...
I_Keep_Trying's user avatar
2 votes
2 answers
865 views

How do you deal with transparent fonts that you want to be white?

I am a complete beginner, but I thought I would try to learn how to create a basic game during quarantine. So, I apologize if this question is trivial. However, I stumbled into a problem with fonts. I'...
AlanSTACK's user avatar
  • 123
2 votes
1 answer
564 views

How can I create color fonts to be used in Unity?

I've been searching, downloaded a couple programs that lets you convert images into fonts, but none let you obtain the color. They all switch them to black and white. While searching the internet, I ...
L2L2L's user avatar
  • 21
1 vote
0 answers
74 views

Incorrect placement of diacritics in Arabic fonts

I put AdobeNaskh font on my texts and use Arabic text support for unity and use show Tashkeel function then the text appears so what is the solution of this problem?
Sh.Adel's user avatar
  • 191
0 votes
0 answers
2k views

Blurry text in Unity UI at default scale

I'm working on a VR (GoogleVR Cardboard) game, and need to include UI elements within it. Ever since I first learned how to use Unity's UI elements, I've been limping around what seems to be a major ...
Bitbang3r's user avatar
  • 139
1 vote
1 answer
235 views

Unity font API behaves differently in built game

Specifically it's Font.CreateDynamicFontFromOSFont(), use this script attached to an empty GameObject in the scene. ...
Arxz's user avatar
  • 95
1 vote
1 answer
758 views

Font Changes in WebGL Build

I'm attempting to make a game for WebGL. However, everytime I export a build, the font always changes on everything, just like below. Original WebGL My default font is Arial and I have made a ...
JSparks's user avatar
  • 199
0 votes
1 answer
5k views

Can I create realtime textures with text?

I have a large number of items in my game, that will eventually have a texture associated with them. The problem is, for right now, I have nothing. I would really like to do something with, say, the ...
PearsonArtPhoto's user avatar
0 votes
2 answers
1k views

Unity custom font all glyphs on top of each other

I'm trying to create a custom font to use (just for numbers). I've divided a 1280x512 file into a 5x2 grid of 256x256 spaces, put my custom drawing into the boxes through 0 to 9, saved it as ...
Can Poyrazoğlu's user avatar
1 vote
1 answer
9k views

Unity UI Text Font Size changes with the screen resolution Problem

I am working on a project and now I have a problem . The problem is the font size. The font size is OK inside the Unity but it is really small when I play the game on a real Android device . My ...
Nicolus Buck's user avatar

15 30 50 per page