Skip to content
Search

Android.graphics.Typeface

lastmod 2018-08-17created 2014-02-265 edits

Fonts provided by default on Android devices

However, when you pick these three fonts in Photoshop during design work, they show up as Gulimche instead, which makes simulation difficult. The same goes for specifying them with CSS on a web page.

To solve this, install Droid Sans Fallback1 and you can simulate Korean fonts. It is large (3MB) because it supports multiple languages.

The following fonts are recommended on Android.

Nanum Gothic
https://android.googlesource.com/platform/external/naver-fonts/
Nanum-gothic.zip
Since Android 4.2, Naver's Nanum Gothic has been added as the Korean font.2 The default font changed from Batangche, which used to look blurry, to Naver Nanum Gothic. Nanum Gothic was designed with screens rather than paper in mind.
Android Developer - Typography
http://developer.android.com/design/style/typography.html
Roboto-1.100141.zip
The Android design language relies on traditional typographic tools such as scale, space, rhythm, and alignment with an underlying grid. Successful deployment of these tools is essential to help users quickly understand a screen of information. To support such use of typography, Ice Cream Sandwich introduced a new type family named Roboto, created specifically for the requirements of UI and high-resolution screens.

Applying an Android Font

Place the font file in the assets directory, then use it as follows.

Typeface tf = Typeface.createFromAsset(Context.getAssets(), "font.ttf"); 
textView.setTypeface(tf);

Favorite site

References


  1. DroidSansFallback.ttf.zip ↩

  2. Android 4.2 released… ships with 'Nanum fonts' ↩

  3. Android_change_font_for_app.pdf ↩