Tehreer-Android
Tehreer is a library which gives full control over following text related technologies.
- Bidirectional Algorithm
- OpenType Shaping Engine
- Text Typesetting
- Text / Glyph Rendering
It is a wrapper over mature C libraries, FreeType, SheenBidi and SheenFigure. 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:
compile 'com.github.mta452:tehreer-android:2.0'
Proguard
-keepclassmembers, includedescriptorclasses class * {
native <methods>;
}
-keep @interface com.mta.tehreer.internal.Sustain -keepclassmembers class * {
@com.mta.tehreer.internal.Sustain *;
}
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) 2017 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.