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:
@@ -1366,8 +1366,13 @@ BFont::operator!=(const BFont &font) const
|
|||||||
void
|
void
|
||||||
BFont::PrintToStream() const
|
BFont::PrintToStream() const
|
||||||
{
|
{
|
||||||
printf("FAMILY STYLE %f %f %f %f %f %f\n", fSize, fShear, fRotation, fHeight.ascent,
|
font_family family;
|
||||||
fHeight.descent, fHeight.leading);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user