Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 837 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 837 Bytes

A helper library to set custom fonts to your android view

Please visit the website to know the how to.

Website: http://anwarshahriar.github.io/projects/calligrapher/calligrapher.html

This is a simple library for setting specific font to all of your view with a single line. Feel free to fork it or fix any issues and make a pull request.

Add to gradle dependencies

dependencies {
  compile 'me.anwarshahriar:calligrapher:1.0'
}

Place your font under assets directory or sub directories under assets.

Example use

Calligrapher calligrapher = new Calligrapher(this);
calligrapher.setFont(this, "alexbrush/AlexBrush-Regular.ttf", true);

demo 1 demo 2