JoanZapata / android-iconify

Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,...
http://joanzapata.com/android-iconify
Other
3.93k stars 529 forks source link

some font for Iconify could not rednder #174

Open pishguy opened 8 years ago

pishguy commented 8 years ago

i'm using this library on my android application and work fine for some fonts, but it doesnt render some font symbolic such as fa-assistive-listening-systems or fa-deaf; i'm installed all of repositories and defined on Application class

seens this fonts are for new version? thats right? Application class:

@Override
public void onCreate() {
    super.onCreate();
    Iconify
        .with(new FontAwesomeModule())
        .with(new EntypoModule())
        .with(new TypiconsModule())
        .with(new MaterialModule())
        .with(new MaterialCommunityModule())
        .with(new MeteoconsModule())
        .with(new WeathericonsModule())
        .with(new SimpleLineIconsModule())
        .with(new IoniconsModule());
    }
}

repository:

dependencies {
    compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.2.2' // (v4.5)
    compile 'com.joanzapata.iconify:android-iconify-entypo:2.2.2' // (v3,2015)
    compile 'com.joanzapata.iconify:android-iconify-typicons:2.2.2' // (v2.0.7)
    compile 'com.joanzapata.iconify:android-iconify-material:2.2.2' // (v2.0.0)
    compile 'com.joanzapata.iconify:android-iconify-material-community:2.2.2' // (v1.4.57)
    compile 'com.joanzapata.iconify:android-iconify-meteocons:2.2.2' // (latest)
    compile 'com.joanzapata.iconify:android-iconify-weathericons:2.2.2' // (v2.0)
    compile 'com.joanzapata.iconify:android-iconify-simplelineicons:2.2.2' // (v1.0.0)
    compile 'com.joanzapata.iconify:android-iconify-ionicons:2.2.2' // (v2.0.1)
}

use on xml layout:

<com.joanzapata.iconify.widget.IconTextView
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_marginLeft="15dp"
    android:layout_marginRight="10dp"
    android:gravity="center|right"
    android:shadowColor="#22000000"
    android:text="{fa-assistive-listening-systems}"
    android:textColor="#ffffff"
    android:textSize="25sp"/>