Reputation: 1334
I'm planning to make an android app and want to use custom fonts to match the style guide provided by the brand who wants the app.
I have found this library Caligraphy to use custom fonts.
Upvotes: 3
Views: 1709
Reputation: 2600
- Is there an issue regarding performance of the app by using custom fonts with this library?
There generally isn't any issue with custom fonts, there is no reason this library would hit the performance of the app
- Is there another option to add custom fonts painlessly?
Yes you can easily achieve this with simple coding
TextView txt = (TextView) findViewById(R.id.textview);
Typeface font = Typeface.createFromAsset(getAssets(), "your_font.ttf");
txt.setTypeface(font);
- Also, is there a guideline that prevents from using custom fonts in android apps, or is it a bad practice?
No it is not a bad practice. Infact google recently added an option to use custom fonts with support library v26. You wont have to add ttf file to the apk, google will download that for you itself
Upvotes: 2