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
1
Question by MindJuice · Feb 22, 2012 at 03:10 AM · scaleguitextfontvectorextensions

Are Real Vector Fonts Possible in Unity?

I know Unity doesn't have built-in support for scalable vector fonts, but are there any 3rd party extensions that support this? [EDIT: Actually Unity DOES have support for scalable vector fonts. See answer below.]

If not, what is the best way to handle this?

I could potentially import the font at the largest size I need (48pt or so), but playing around with GUIText gave very disappointing results and it's hard to get the GUIText objects in the right position at the right size.

If vector fonts are out, what is the best 3rd party bitmap font component that can resize the text to the desired size?

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by MindJuice · Feb 22, 2012 at 06:36 PM

So after talking to a Unity rendering engineer on Twitter last night, I found out that if you set the font's Character setting under Import Settings to "Dynamic", Unity will not create a bitmap from it.

Instead, it will use the character outline as I was hoping.

The downside is that this is only supported on Mac and PC build targets at this time, however, the feature is apparently coming for iOS and Android at some time in the future.

On iOS and Android, the font imports at whatever size you set under the import settings.

The documentation describing this feature can be found here:

http://unity3d.com/support/documentation/Components/class-Font.html

Comment
Add comment · 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
0

Answer by DaveA · Feb 22, 2012 at 03:29 AM

Look into Vectrosity in the Asset Store.

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 MindJuice · Feb 22, 2012 at 03:34 AM 2
Share

Unless I am missing something, the closest thing I can see that Vectrosity has is a "VectorChar" which draws a specific "vector-style" like in their Battlezone screenshot. What I mean when I say "vector font" is a TrueType font that uses vectors for defining the letter shapes.

avatar image DaveA · Feb 22, 2012 at 03:35 AM 1
Share

That would be cool. I've not heard of it, but if it's not in the Asset Store, well there's an opportunity for a daring programmer.

avatar image
0

Answer by drudiverse · Dec 13, 2014 at 12:23 PM

Do you know about Hershey font library, i think it may GNU i don't know! anyways, you can display those fonts with line renderer/vertices/vectrocity.

Comment
Add comment · 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

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

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Changing GUIText.font on runtime 1 Answer

Using fonts in Unity - iOS devices 2 Answers

Scaling pixelated font to different resolutions 0 Answers

How to make GUI Text Scale to different Resolutions? 3 Answers

Simple way to change GUIText font size 4 Answers


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