12-14-2011 05:32 PM
12-14-2011 05:50 PM
12-14-2011 06:24 PM
I pretend to use serif style on a news reader
how can I know which Fonts have serif variation on BB devices?
what do you mean by "are embedded right into the typeface, but not always." ?
12-16-2011 06:08 AM
12-16-2011 03:11 PM - edited 12-16-2011 03:16 PM
Some fonts contain serif (along with bold, italic, etc.) data all in the same file. Others are standalone fonts, and usually have it in the name, like BBAlpha Serif. If you look in Options under Screen/Display, you'll see a list of fonts installed on the device.
If you're not sure whether a font has a serif variation, just try to use:
FontFamily fontFamily = FontFamily.forName("FontName"); Font font = fontFamily.getFont(Font.SERIF_STYLE, 14); labelField.setFont(font);
Run it, and if the label's text has serifs, then you have your answer.
12-19-2011 09:02 AM