Made BFont::PrintToStream() a bit more useful.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14807 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-11-09 20:04:12 +00:00
parent a4c2c8924d
commit 31cff4dc84

View File

@ -1366,8 +1366,13 @@ BFont::operator!=(const BFont &font) const
void
BFont::PrintToStream() const
{
printf("FAMILY STYLE %f %f %f %f %f %f\n", fSize, fShear, fRotation, fHeight.ascent,
fHeight.descent, fHeight.leading);
font_family family;
font_style style;
GetFamilyAndStyle(&family, &style);
printf("BFont { %s (%d), %s (%d) 0x%x %f/%f %fpt (%f %f %f), %ld\n", family,
fFamilyID, style, fStyleID, fFace, fShear, fRotation, fSize,
fHeight.ascent, fHeight.descent, fHeight.leading, fEncoding);
}