Are you fed up of Custom Views to set fonts? Or traversing the ViewTree to find TextViews? Calligraphy is a library of custom fonts in Android an OK way. Add your custom fonts to assets/. All font definitions are relative to this path. Assuming that you are using Gradle you should create the assets directory under src/main/ in your project directory if it does not already exist. As it's popular to use multi-project build with Gradle the path is usually app/src/main/assets/, where app is the project name. You might consider creating a fonts/ subdirectory in the assets directory. Define your default font using CalligraphyConfig, in your Application class in the #onCreate() method and pass it to the CalligraphyInterceptor that you add to your ViewPump builder. You don't need to define CalligraphyConfig but the library will apply no default font and use the default attribute of R.attr.fontPath.

Features

  • Custom font per TextView
  • Custom font in TextAppearance
  • Custom font in Styles
  • Custom font defined in Theme
  • Define your default font using CalligraphyConfig, in your Application class

Project Samples

Project Activity

See All Activity >

Categories

Fonts

License

Apache License V2.0

Follow Calligraphy

Calligraphy Web Site

Other Useful Business Software
Get secure and private access to the internet Icon
Get secure and private access to the internet

For Individuals or organizations that need secure remote access via VPN

We help companies keep their networks and Internet connections secure. Our VPN service adds an extra layer of protection to secure your communications. We do this by applying strong encryption to all incoming and outgoing traffic so that no third parties can access your confidential information. Protect your organization against security breaches. Secure remote team access. Simplify business network security. Access region-specific online content from anywhere in the world
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Calligraphy!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Fonts

Registered

2021-06-30