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
0
Question by rhart · Apr 30, 2012 at 07:18 PM · iostextipadbest practices

Achieving Crisp Pixel Perfect Text --> Best Practices?

I have an application I am working on that will run under Unity iOS on a first gen iPad. I need a way of displaying crisp dynamic text that will be entered in by the user at run-time and I want to take this text and display it ontop/infront of the word balloon image. While I can currently get the text and display it infront of the balloon both the text and balloon are coming out very pixelated on the device.

I am aware of and have tried guitext and Unity GUI but want to know if there are better alternatives.

I have also tried a 3D Text mesh, but I'm finding the text is still coming out pixelated when I test on the actual device. Does anyone know of any sites or tutorials, or have and advice on how to achieve really crisp dynamic text and images under Unity iOS? Any ideas or thoughts would be greatly appreciated!

Comment
Add comment · Show 5
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 Landern · Apr 30, 2012 at 07:42 PM 0
Share

When you say test on the actual device, are you deploying it or are you using unity remote to view it on the device? if using the remote it will be pixelated.

avatar image dannyskim · Apr 30, 2012 at 07:44 PM 0
Share

As of now, unity iOS does not support dynamic fonts. Your best bet is to find the size that is most ideal, and export it at that given size.

Previously, when I came across a similar issue, I had to have 4 different font files for the same font so that I could show them crisp across iOS devices of differing gens and types. If you're using Unity's built-in GUI system, I honestly think that's the only approach that you have right now.

Using a third party plug-in such as NGUI would be my optimal suggestion, if you don't $$anonymous$$d spending the money.

avatar image rhart · Apr 30, 2012 at 07:56 PM 0
Share

I'm deploying the build to a real device each time. I am also trying 2DToolkit, but still seeing some significant pixelation happening. I also develop native iOS apps via the raw sdk and I'm used to extremely sharp graphics and text...just wondering how close to the crispness of a native sdk App people been able to get and the techniques they used to achieve this.

avatar image Fabkins · Apr 30, 2012 at 08:09 PM 0
Share

I did the same as Dannyskim. I imported 3 fonts (arial in my case) of different point size and the fonts look crisp on all devices I've tried them on old/new iPhone and new iPad.

avatar image rhart · Apr 30, 2012 at 08:44 PM 0
Share

It it pretty much required that you opt for an orthographic camera, or can you still achieve nice crisp results with a perspective camera?

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Bampf · Apr 30, 2012 at 08:53 PM

• For textures, the trick is to avoid scaling, and instead use pixelOffset to position the texture. Or you can get away with using a large texture on a large/retina display, and displaying it at exactly half-size on other displays.

Note that if you go this approach you may end up writing a lot of code to calculate the pixel position of almost every GUI element you want to draw, and its got to handle every size screen.

For the balloon around your text, you might consider using a GUIStyle, in effect drawing it like a GUI button. You can customize the texture that defines the button's border and background.

If you do it this way you'll have to draw the tail of your balloon separately. You could just make it a thin line from the balloon to the whoever is speaking, for instance.

• I don't know a reason why your text would look pixellated with UnityGUI. It shouldn't.

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 tonic · Aug 20, 2014 at 01:44 PM

(adding an answer to older question in case you're still looking for info about this, or if somebody else finds this using Google search...)

If you're willing to use a separate asset, you could give my thing a try. It's meant to work like a replacement to built-in Text Mesh, so it is part of the scene and works with world coordinates. But it still looks just as sharp as GUIText. It supports both orthogonal and perspective cameras (you should just make sure the text stays perpendicular to camera, i.e. don't rotate neither camera nor object). Link here: Pixel-Perfect Dynamic Text

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 z25assassins · Apr 02, 2017 at 09:59 AM

try this https://youtu.be/gt_tkXfOYqs

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

9 People are following this question.

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

Related Questions

Keyboard triggered animation not showing on IOS device 0 Answers

App crash when using siri dictation to replace text on iOS 0 Answers

Reading & Writing to text file After building for iPhone. 2 Answers

iPhone Controller Asset 0 Answers

Screen.sleepTimeout works when application runs in background on iOS (iPad) 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