Is it possible to import a Typeface from another apk? Or from the SD
card?

I only found: Typeface.createFromAsset(AssetManager mgr, String path)
http://code.google.com/android/reference/android/graphics/Typeface.html

I would like to ship fonts as an add-on to the main application, since
font files can be large. For this reason, the main application would
have to access a font from a different location than its own asset
folder.

I thought about maybe overriding AssetManager to provide a custom
InputStream for the font data, but this is not possible because
AssetManager is declared as final.

Are there any other tricks I could use to obtain Typeface from a
different location?

Peli


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to