Back to project page HexNanoController_Android.
The source code is released under:
Code license GNU GPL v2 http://www.gnu.org/licenses/gpl.html Content license CC BY-NC-SA 4.0 http://creativecommons.org/licenses/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.
package com.hexairbot.hexmini.util; /* w w w . java 2 s . co m*/ import android.content.Context; import android.graphics.Typeface; 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; } } }