Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
1
Question by m_truly · Apr 03, 2016 at 05:19 PM · webglfonts

How to Make Proper Font used in WebGL build?

I have a scene which uses the Verdana font. When I make a standalone build, the Verdana font is used. But when I make a WebGL build... some other font is used.

I have added the Verdana font to the project so I think it should be included in the build... but it is still not being used.

Is there a setting I'm missing to make the font used?

Thanks!

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

Answer by Schubkraft · Apr 04, 2016 at 10:16 AM

See http://docs.unity3d.com/Manual/class-Font.html on how to setup fonts properly for inclusion.

Comment
Add comment · Show 1 · 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 m_truly · Apr 04, 2016 at 01:22 PM 0
Share

Thanks very much for this info! I have been studying that page for a while... without much success.

avatar image
1

Answer by m_truly · Apr 04, 2016 at 01:34 PM

I've gotten the problem mostly solved... although I'm not sure exactly why it worked now.

Originally in the editor, the font Verdana with Bold was chosen to be used in numerous TEXT objects. I read the page above the other day and thought the fonts needed to be actually brought into the project folders so they would be included in the WebGL build. But when I did this, the wrong fonts were still displayed in the build.

Then I went back to the inspector, saw the Verdana font was being used, went to choose another font from the pulldown and saw that there was 'Verdana' listed as well as 'verdanab' (lowercase v) listed. I chose verdanab and turned OFF the Bold setting (since the font was already a bold font).

Now in the WebGL build... verdana bold is used as desired.

I believe the verdana, verdanab, verdanai and verdanaz are the fonts that I added to the project folders. I didn't realize that I would have to 're-select' these fonts from the pulldown in order to make them used in the project.

Now my only issue is that my TEXT objects that use the Arial font are not displaying Arial in the WebGL build. When I have tried to re-select one of the Arial fonts in the list... the resulting WebGL build still displays some other font... not Arial. Maybe I have to manually put Arial in the project folders?

Thanks!

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

57 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 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 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to capture Camera disconnect in using Webcamtexture for Webgl 1 Answer

Unity says my platformer micro game cannot be shared with webGL because the max size is 100 mb, but I should be able to share it 0 Answers

WebGL displacement shader doesn't work in build 0 Answers

How Can I Export To Win10 From Manjaro Linux? 1 Answer

How to retrieve nested JSON variable - sendMessage WebGL 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