Tehreer / Tehreer-Android

Standalone text engine for Android aimed to be free from platform limitations
Apache License 2.0
89 stars 16 forks source link
android android-library bidi fonts freetype glyph-rendering harfbuzz jni-wrapper opentype opentype-features sheenbidi sheenfigure text-layout text-rendering text-shaping typography uax-24 uax-9 unicode variable-fonts

Tehreer-Android

License Maven Central Continuous Integration Codecov

Tehreer is a library which gives full control over following text related technologies.

It is a wrapper over C libraries, FreeType, SheenBidi and HarfBuzz. So a part of the library has been written in JNI in order to access the functionality of said libraries.

Screenshots

Installation

If you are building with Gradle, simply add the following line to the dependencies section of your build.gradle file:

implementation 'com.github.mta452:tehreer-android:3.0'

Proguard

-keepclassmembers, includedescriptorclasses class * {
    native <methods>;
}

API Reference

The Javadocs are available for online browsing. The Javadocs are also bundled as source Jars with each distribution for consumption in the IDE.

License

Copyright (C) 2016-2023 Muhammad Tayyab Akram

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.