Beginner wrote:
> Hi,
> 
> I'm trying to set the font family in a text view, to Georgia. Is there
> a way to do this?

Step #1 is for you to find a version of Georgia that you can legally 
ship with your application. The only fonts pre-installed in Android that 
you can use are the Droid fonts (Droid Sans, Droid Serif, Droid Mono). 
AFAIK, Georgia is a Microsoft font -- you will need to determine the 
distribution rules for the font.

Step #2 is for you to find TrueType (TTF) editions of the font in 
whatever weights and styles you want (regular, bold, italic, etc.).

Then, you can package the fonts as assets with your project and use them 
with the Typeface class -- I've written up the process over on AndroidGuys:

http://androidguys.com/?p=656

Forgive the formatting of the blog post -- this one is old, and a site 
rebuild fouled up all my earlier posts. Also, while I think this example 
was written for the M5 SDK, I also think it works without changes on the 
current one.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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

Reply via email to