Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by boltfox20 · Nov 03, 2011 at 09:10 AM · guibugfontdisplayskin

Why does the font selected for my GUI Skin not display correctly?

I'm trying my hand at a custom GUI Skin, specifically for some buttons that I want displayed. My font of choice should look something like this.

http://dl.dropbox.com/u/7320921/Example1.png

Instead, it looks like this.

http://dl.dropbox.com/u/7320921/Example2.png

Can anyone tell me what's going on? The font I used can be downloaded here.

I'm using Unity 3.4.2f2 on Mac OSX 10.6.8.

UPDATE:

Okay, I was looking at the generated texture for the font and it was showing the same font I was receiving (the one in the second example). So I removed and re-aded the font, this time with Unicode. Now the font is there in the texture but now the buttons have no font at all. No text to be seen. Even when trying to make a 3D Text object I am having the exact same problems.

The font works in all other programs I've tried. However, other custom fonts also work fine in Unity.

I'm still no closer to understanding why this particular font doesn't work. =\

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image boltfox20 · Nov 06, 2011 at 12:20 AM 0
Share

Does anyone have any ideas? I tried updating and that didn't help either. =\

avatar image ina · Nov 16, 2011 at 04:03 AM 0
Share

$$anonymous$$ight be because your font is missing some characters.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by antx · Nov 03, 2011 at 09:45 AM

Can other applications handle the font? (to make sure that there is nothing wrong with the font itself) Try a little test scene with just a GUI Text in it and assign the font to that text, to see if it works there. (I just downloaded the font and tested this on Windows and it works perfectly.)

If that works, then I guess you most likely assigned the font in your skin in the wrong place or your gui is not using the skin yet.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image boltfox20 · Nov 03, 2011 at 03:43 PM 0
Share

It works great in Photoshop (thus the image examples) and the GUI did change font, it just changed to a thicker Arial ins$$anonymous$$d of the new font.

As for where I assigned it:

http://dl.dropbox.com/u/7320921/Example3.png

avatar image boltfox20 · Nov 07, 2011 at 12:40 AM 0
Share

All of my other fonts have an icon of Ag and this one has the icon of 01. Is that relevant?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Is there a way to measure the pixel with/height of a string with a given font? 2 Answers

GUI Skin Layout Issues 0 Answers

GUI skin font problem 1 Answer

Skins Missing Textures 1 Answer

Possible to change GUI.Label fontsize without using GUIStyle? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges