Questions tagged [calligraphy]

Custom fonts in Android the easy way

Calligraphy is an Android library that lets user to set Font to TextViews in XML file. Android does not support this way of assigning FontPath therefore Calligraphy is a solution for this problem.

Github repo

29 questions
1
vote
1 answer

chrisjenx/calligraphy not work properly in my app tried so many answered

I tried so many examples and answered from other questions on this library but not working for me. I don't know what was happened with this? Application class : public class MyApplication extends Application { @Override public void…
Jayesh Rathod
  • 600
  • 1
  • 5
  • 18
1
vote
1 answer

Calligraphy uses default system font after applying custom TextAppearance

I have used Calligraphy library to change the font of entire application. Every thing works fine until I decided to change the text size of navigation drawer. I have defined the following style which is used as app:itemTextAppearance of…
Abe
  • 39
  • 7
0
votes
0 answers

Nastaliq font in kivy

I just wanted to ask whether there's a way to use the Nastalik fonts in Kivy. (IranNastaliq, Urdu Typesetting or Noto Nastaliq Urdu). if you know how to make a button with a text written in these fonts please answer. I was trying IranNastaliq font…
0
votes
1 answer

Update uk.co.chrisjenx:calligraphy to io.github.inflationx:calligraphy3:

I had before uk.co.chrisjenx:calligraphy:2.3.0. After updated to io.github.inflationx:calligraphy3:3.1.1 I can't find CalligraphyContextWrapper class, the code below: protected void attachBaseContext(final Context newBase) { …
vaniokmd
  • 59
  • 7
0
votes
1 answer

Calligraphy font not getting applied In release build of Android app with dexguard

I have used this popular calligraphy library Calligraphy I have integrated Dex-guard in my project it works fine with the proguardFile getDefaultDexGuardFile('dexguard-debug.pro') whenever i create release build with the proguardFile…
0
votes
0 answers

Calligraphy library is not working on huawei p20 lite

i'm trying to use bebasneue font but it's not working,i have tried all methods and nothing work on phone huawei p20 lite this is project source code if you would like to take a farther look https://github.com/IslamAssem/Ml3bna
Islam Assem
  • 1,376
  • 13
  • 21
0
votes
1 answer

how to get font folder in xml or java

hi i want set font but i have a problem i use calligraphy library for changing font new CalligraphyConfig.Builder() .setDefaultFontPath("fonts/IRANSansMobile.ttf") .build())) but this…
user10211766
0
votes
0 answers

How to fix java.lang.noclassdefounderror for Calligraphy Xamarin.Android Error

This error is making me sick, when ever I get this error I have to build-clean my project for like 5-8 times and after that my app runs else it does not. I have been facing this issue after I used calligraphy for custom fonts. If there is any other…
0
votes
1 answer

android:inputType does not function after adding caligraphy

After adding calligraphy to applied the font, password become blurred and cannot be viewed. I have applied android:fontFamily="sans-serif" but still it is still the same. Calligraphy that i am using is implementation…
Liew Syet Chau
  • 143
  • 3
  • 14
0
votes
1 answer

After some period of time some symbols become bold Android 4-5

After some period of time, some symbols become bold on Android 4-5. We use custom font ubuntг and library Calligraphy. This is the code we use to work with Calligrapy: @Override protected void attachBaseContext(Context newBase) { …
ar-g
  • 3,417
  • 2
  • 28
  • 39
0
votes
1 answer

Android calligraphy library: set default font does not work

I did used uk.co.chrisjenx:calligraphy dependency to use fonts from asset folder, however default font is not applied to my application. I followed the guideline used in other stackoverflow question but they did not work and all solutions used same…
VSB
  • 9,825
  • 16
  • 72
  • 145
0
votes
1 answer

How to enable antialiasing when using Android Custom fonts on my App?

I removed chrisjenx/Calligraphy library to use a native Font XML on Android app android official documentation. The replace activity was simple but now te font is rendered without antialiasing, in the light fonts the difference is evident. I have…
Gianluca Musa
  • 755
  • 7
  • 22
0
votes
1 answer

How to use calligraphy library in Android

I want use Calligraphy library in my project, but in my application is use this code for change google map language : @Override protected void attachBaseContext(Context newBase) { } for use calligraphy i should use this code : @Override protected…
Dongle
  • 23
  • 1
  • 4
0
votes
0 answers

Compatibility Font - How to

For all my labels I'm using a Font that only now I discover that is present only in the API 21+. Since my app support API 16+ I need to change all the font of the labels in my app if < API21. I can upload in my app the .tff font file but then: I…
GMX
  • 950
  • 1
  • 14
  • 29
1
2