[android-developers] Fonts
First question:
Does the default sans serif font in Android support italic? Oddly,
you can see italic sans serif text if you indicate it as such in the
xml of a layout file, but if you specify sans serif and italic to a
typeface of a paint object it appears nonitalic. The exact same code
works perfectly for bold for both serif and sans serif, but italic
only works with sans serif.
Has anyone else ever noticed this? Can anyone else specify sans serif
italic to a paint object?
Second question:
So, to specify a font directly by name, it appears that it must be
reference by file or path as an asset. It looks like such fonts are
always specified as bundled with the app. Are they *any* internal
fonts at all? I mean, how does Android draw text in the first place?
It must have *some* fonts, but I have no idea how to indicate them to
a Typeface object (or a Paint object). I mean, Courier? Times?
Helvetica? I'm looking for basic stuff here? Where are the fonts on
Android?
Thank you very much.
Cheers!
--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home