MMFont

Myanmar Font embedded TextView for Android.

License

License

GroupId

GroupId

org.mmaug.mmfont
ArtifactId

ArtifactId

library
Last Version

Last Version

1.3.0
Release Date

Release Date

Type

Type

aar
Description

Description

MMFont
Myanmar Font embedded TextView for Android.
Project URL

Project URL

https://github.com/MMAUG/MMFont
Source Code Management

Source Code Management

https://github.com/MMAUG/MMFont

Download library

How to add to project

<!-- https://jarcasting.com/artifacts/org.mmaug.mmfont/library/ -->
<dependency>
    <groupId>org.mmaug.mmfont</groupId>
    <artifactId>library</artifactId>
    <version>1.3.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/org.mmaug.mmfont/library/
implementation 'org.mmaug.mmfont:library:1.3.0'
// https://jarcasting.com/artifacts/org.mmaug.mmfont/library/
implementation ("org.mmaug.mmfont:library:1.3.0")
'org.mmaug.mmfont:library:aar:1.3.0'
<dependency org="org.mmaug.mmfont" name="library" rev="1.3.0">
  <artifact name="library" type="aar" />
</dependency>
@Grapes(
@Grab(group='org.mmaug.mmfont', module='library', version='1.3.0')
)
libraryDependencies += "org.mmaug.mmfont" % "library" % "1.3.0"
[org.mmaug.mmfont/library "1.3.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

MMFont

Font embedded TextView for Android.

alt text alt text

Goal

To create a painless font embedded ready made TextViews rather than setting typeface to the text views.

Installing

Clone the repo

git clone https://github.com/MMODroid/MMFont.git

Import it to ADT/Eclipse/AndroidStudio

File -> Import Project ...

Getting Started

First, include MMFontLib as a Library by

File -> Properties -> Android -> Add -> Choose MMFont

Then, either in your activity or fragment xml file, you can use in this way.

      <org.mmodroid.mmfont.MM3
          android:id="@+id/tv_mm3"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textSize="25sp" />

That's it.

TODO

  • Unicode fonts are not rendering correctly on devices with API version below 4.3
  • Embedded WebViews as well ?

Contributing

You are most welcome to contribute to this project. Especially, the font rendering problem needs to be fixed.

If you like to give a suggestion, please open an issue. Or if you can fix it yourself, please fork + pull request and I appreciate it most.

License

MIT

org.mmaug.mmfont
Myanmar Android User Group

Versions

Version
1.3.0
1.2.0
1.1.0
1.0.0