# Migrating to Downloadable Fonts on Android

DevFeed: [Migrating to Downloadable Fonts on Android](<https://devfeed.tech/articles/migrating-to-downloadable-fonts-on-android-25650.md>)

Original publisher: [Read original article](<https://adambennett.dev/2018/06/migrating-to-downloadable-fonts-on-android/>)

Published: 2018-06-28T13:16:14Z

Content type: tutorial

Language: en

Sources: [Posts on Adam Bennett](<https://devfeed.tech/sources/posts-on-adam-bennett.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Font](<https://devfeed.tech/topics/font.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [SVG](<https://devfeed.tech/topics/svg.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [blog](<https://devfeed.tech/tags/blog.md>), [career](<https://devfeed.tech/tags/career.md>), [compose](<https://devfeed.tech/tags/compose.md>), [development](<https://devfeed.tech/tags/development.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [finance](<https://devfeed.tech/tags/finance.md>), [fonts](<https://devfeed.tech/tags/fonts.md>), [functional](<https://devfeed.tech/tags/functional.md>), [growth](<https://devfeed.tech/tags/growth.md>), [java](<https://devfeed.tech/tags/java.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [money](<https://devfeed.tech/tags/money.md>), [opinions](<https://devfeed.tech/tags/opinions.md>), [proguard](<https://devfeed.tech/tags/proguard.md>), [software](<https://devfeed.tech/tags/software.md>), [startups](<https://devfeed.tech/tags/startups.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>), [training](<https://devfeed.tech/tags/training.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

This article explains how Blockchain migrated its Android app from bundled fonts and the Calligraphy library to Android's downloadable fonts. It describes runtime font loading through a font provider, support down to API 14 through Support Library 26.0.0, and Android Studio's generated manifest and XML configuration. It also notes that the interface exposed only regular and bold Montserrat variants.

## Source excerpt

This is a rehost of the article I wrote for the Blockchain Engineering blog. You can find the original article here. At Blockchain, we have many mobile users in bandwidth constrained environments such as developing countries. As such keeping the app small and lightweight is a priority for the Android team. Smaller app sizes increase both installs and conversion rates - important metrics for any mobile-focused company. We've used various techniques over the last year to prevent bloat to the app including shrinking what few PNGs we have, using VectorDrawables at every possible opportunity, and aggressively leveraging ProGuard.