Android Open Source - HexNanoController_Android Font Utils

From Project

Back to project page HexNanoController_Android.


The source code is released under:

Code license GNU GPL v2 Content license CC BY-NC-SA 4.0

If you think the Android project HexNanoController_Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.hexairbot.hexmini.util;
/*  w  w w  .  java 2  s  .  co m*/
import android.content.Context;

public class FontUtils 
  public static final class TYPEFACE 
    private static Typeface helvetica; 
      public static final Typeface Helvetica(Context ctx) {
        if (helvetica == null) {
          helvetica = Typeface.createFromAsset(ctx.getAssets(), "fonts/helveticaneue-condensedbold.otf");
          return helvetica;

Java Source Code List