4

Hi I want to make my own font for arabic text in android. I've googled and I found tools like font struct and others. the question is I think that those tools will make me generate ttf font that is not specific for android and it might not look good on android devices I'm I right????. I feel confused :(

FAFI
  • 379
  • 2
  • 6
  • 21

1 Answers1

1

As Android support TrueType fonts, there shouldn't be any problems what so ever with any TTF you might put in your app.

The main problems that might occur is that if your font as small details, the rendering software will remove them on low resolution screens, or simply replace them with Droid (see this) when the renderer fails completely.

Laucia
  • 222
  • 2
  • 11
  • I've read this post and replacing them is what I meam by "it might not look good"..but thank u – FAFI Aug 22 '12 at 15:17
  • To be franc I've never seen this behavior while using custom font for standard Unicode characters and edited the post to add it. Every thing should go fine just try ! if you have "ugly" rendering you can look into [this](http://stackoverflow.com/questions/3932951/using-a-custom-ttf-in-android-makes-for-really-ugly-text) : the font renderer is not the same depending on the Widget type : in general it seem to use [Skia](http://code.google.com/p/skia/) that perform fairly on all vectorial shape (including TrueType letters) but as you can read in the given link that might change ... – Laucia Aug 22 '12 at 16:07
  • But be aware that you can have surprises with spacing and word-linking (i don't know if this is a pain in arabic) – Laucia Aug 22 '12 at 16:10
  • mmmmm...ok I tried lots of fonts for arabic the system simply replaced them with sans that is what I'm afraid of...and I can't change the widget...But I'll read about skia...thanks alot – FAFI Aug 22 '12 at 20:32