Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Unity Editor has no visible text #18

Closed
Pendrokar opened this issue Jul 23, 2014 · 12 comments
Closed

Unity Editor has no visible text #18

Pendrokar opened this issue Jul 23, 2014 · 12 comments

Comments

@Pendrokar
Copy link
Contributor

Unity Editor launches, but after the license window and project creation window comes the main window, which has no text in inner windows with the exceotio of the title bar.

@Pendrokar
Copy link
Contributor Author

This issue is from a missing font. Unity uses the Tahoma font. It can be installed in the following ways:

  • Using winetricks - When in the terminal, write: $ env WINEPREFIX= winetricks tahoma
  • When using PlayOnLinux - In PlayOnLinux install the 'tahoma' component for your Unity installation.

Or

Force Unity to use a different font, by adding a registry key(wine regedit) to the wineprefix Unity is located on, see FontSubstitutes in UsefulRegistryKeys, Tahoma is even given as an example.


This might actually be bug in the Windows version of Unity bug as a user has come up with the same issue on Windows. Meaning that Unity Technologies should either include the font in their installer or use a different font(IMO unlikely).
http://answers.unity3d.com/questions/724427/when-i-launch-uinty-there-is-no-text-please-help.html
This is how it looks like on Windows 7(if it is the same bug):
Windows screenshot

@jurf
Copy link
Contributor

jurf commented Jul 24, 2014

Nope, the Tahoma font doesn't cause the problem in Windows according to the comment on the question.

@Pendrokar
Copy link
Contributor Author

That is not the user that asked the question though.

@jurf
Copy link
Contributor

jurf commented Jul 25, 2014

Oh yeah. Although the questioner has larger system fonts, that might be the problem.

@Pendrokar
Copy link
Contributor Author

Again you overlooked, it is the wrong use of the English expression "The only difference that I can see" when Xtro actually meant "The only difference that I can think of", since I don't see where Xtro sees the font being too large. Xtro is guessing.

[edit] I noticed it is also possible to make Wine override a missing font, by adding a key to the registry. (Fonts -> Replacements)
http://wiki.winehq.org/UsefulRegistryKeys

@jurf
Copy link
Contributor

jurf commented Jul 25, 2014

Nope, not this time. Notice the menu bar, the text there is too big. Windowses always had little fonts, but that one is definitely larger.

The thing with the registry is good to know by the way.

@Pendrokar
Copy link
Contributor Author

User "Feetsalot" of Unity Answers fixed the problem by re-installing fonts. That doesn't help us. Unity 4.6 still does not include the font.

@Chen-Han
Copy link

Hello, I encountered the same bug for unity 5 where text is not showing up. The screen shot above is a perfect reflection of what I have. However, I would like to get a more detailed answer as running
winetricks tahoma does not work

Can you elaborate on "In PlayOnLinux install the 'tahoma' component for your Unity installation." ?

@Pendrokar
Copy link
Contributor Author

@Chen-Han depends if you are actually using PlayOnLinux. Seems not.

By "winetricks tahoma does not work" do you mean that winetricks is not found, or the installation of "tahoma" did not help. If it is the latter than you might have Unity installed on a different prefix.

There was an error in my description(fixed) right after WINEPREFIX=(here you have to have the path to the Unity prefix folder)

@jurf
Copy link
Contributor

jurf commented Jul 25, 2015

Just want to point out that Unity uses Tahoma as a fallback font. The real one is in core-fonts.

@Chen-Han
Copy link

@Pendrokar I am using PlayOnLinux
I used default wine prefix I assume.
The installation of tahoma fonts didn't work out. I also moved some font files to this directory:

:~/.wine/drive_c/windows/Fonts$ ls
Arial.ttf  arial.ttf  tahomabd.ttf  Tahoma.ttf  tahoma.ttf

I wonder how you can choose to install the 'tahoma' component in:
When using PlayOnLinux - In PlayOnLinux install the 'tahoma' component for your Unity installation.

Sorry I am very new to wine and playOnLinux, if you have any lead to how to solve it I really appreciate.

@jurf
Copy link
Contributor

jurf commented Jul 27, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants