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 moghes · Jun 20, 2013 at 10:49 AM · unity 4fonts

Edit font texture (unity 4) for adding special effects.

Hello!

I am searching the best method to give style to my text, border(stroke), shadow, maybe glow and so on.

I saw this wiki post, and Eric tells that:

"This script isn't necessary in Unity 4, since in that case you can click on the font and choose "Create Editable Copy" in the gear menu in the inspector."

I am using unity 4 and as I clicked on "create editable copy" , it showed me a message (check the pic).![alt text][2]

Please any hints about how to access the Font Texture? or any alternative method would help also.

piuc.jpg (44.7 kB)
piuc.jpg (44.7 kB)
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

2 Replies

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

Answer by JacobK · Jun 20, 2013 at 12:13 PM

In the import settings, change the 'Character' setting to one other than dynamic. You'll need to pick one that makes sure you have all of the character set you need.

Unicode if you'll need foreign characters, if not pick one of the ASCII options.

Make sure you set the font size you'll want aswell - It'll become 'baked' to that size, so it'll get blurry if you have to scale it up.

Once you've changed this, you should be able to get the texture and edit it yourself

Comment
Add comment · Show 5 · 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 moghes · Jun 20, 2013 at 12:18 PM 0
Share

Well this method might fail is sacling then? I have to scale the fontsize according to the device dpi.

avatar image moghes · Jun 20, 2013 at 12:20 PM 0
Share

I thought of having the size for example 200, then creating the texture.. it will be high resolution enough.. Only it requires more space/memory if there are a lot of course

avatar image moghes · Jun 20, 2013 at 12:47 PM 0
Share

I just tried and it is really dissapointing, If I change the character to "Not Dynamic" then I am bot able to change the size dynamically since its (not dynamic) like "ASCII default set" or whatever.

Isn't there a method to give style and resize dynamiacally?

I need to do what CSS does to the web, I used Dreamweaver and life with fonts and style were so easy.

avatar image JacobK · Jun 20, 2013 at 04:10 PM 0
Share

If you start high, you can scale it down, but you'll need to uncheck the "Pixel Correct" box, then use the transform scale settings to resize it (You might have to account for aspect ratio etc doing it this way aswell)

avatar image moghes · Jun 21, 2013 at 07:07 AM 0
Share

@Jacob$$anonymous$$ thanks for your help, but I have a problem here, i can either have it dynamic to change size by code (dynamically) , but can't modify the texture (as my main problem was) or have it not static and change/modify the texture.

avatar image
1

Answer by Graham-Dunnett · Jun 20, 2013 at 11:51 AM

Change the font format from dynamic to one of the other options. Then Unity will create a texture for you.

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

16 People are following this question.

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

Related Questions

Font size and style overrides are only supported for dynamic fonts 2 Answers

How to set up Same sized text on all screens? 2 Answers

3D Text Mesh : Font Texture change to a Blank (Black) On Project Save 1 Answer

Change font style via Script in unity 0 Answers

Issue with Dynamic Fonts not displaying correctly in standalone 0 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