Lines Matching refs:font

1573 		/* font messages */
1580 // Add a font for an application from a file
1583 // 1) char* - path to font on disk
1584 // 2) uint16 - index in font file
1588 // 1) uint16 - family ID of added font
1589 // 2) uint16 - style ID of added font
1590 // 3) uint16 - face of added font
1613 ServerFont font;
1614 status = font.SetFamilyAndStyle(familyID, styleID,
1619 fLink.Attach<uint16>(font.FamilyID());
1620 fLink.Attach<uint16>(font.StyleID());
1621 fLink.Attach<uint16>(font.Face());
1634 // Add a font for an application from a memory area
1637 // 1) area_id - id of memory area where font resides
1638 // 2) size_t - size of memory area for font
1639 // 3) size_t - offset to start of font memory
1640 // 4) uint16 - index in font buffer
1644 // 1) uint16 - family ID of added font
1645 // 2) uint16 - style ID of added font
1646 // 3) uint16 - face of added font
1667 fontAreaCloneID = clone_area("user font",
1692 // Check size of font area and reject if it's too large
1722 ServerFont font;
1723 status = font.SetFamilyAndStyle(familyID, styleID,
1727 font.SetFontData(fontData, size);
1729 fLink.Attach<uint16>(font.FamilyID());
1730 fLink.Attach<uint16>(font.StyleID());
1731 fLink.Attach<uint16>(font.Face());
1747 // Remove an application-added font
1750 // 1) uint16 - familyID of font to remove
1751 // 2) uint16 - styleID of font to remove
1771 // 1) string - font type ("plain", ...)
1790 ServerFont font(*style, size);
1792 // We must not have locked the font manager when
1800 settings.SetDefaultPlainFont(font);
1802 settings.SetDefaultBoldFont(font);
1804 settings.SetDefaultFixedFont(font);
1814 // 1) string - font type ("plain", ...)
1816 ServerFont font;
1822 font = *gFontManager->DefaultPlainFont();
1824 font = *gFontManager->DefaultBoldFont();
1826 font = *gFontManager->DefaultFixedFont();
1838 fLink.AttachString(font.Family());
1839 fLink.AttachString(font.Style());
1840 fLink.Attach<float>(font.Size());
1856 // 5) uint32 - font flags
1878 ServerFont* font = NULL;
1881 font = &fPlainFont;
1886 font = &fBoldFont;
1891 font = &fFixedFont;
1896 fLink.Attach<uint16>(font->FamilyID());
1897 fLink.Attach<uint16>(font->StyleID());
1898 fLink.Attach<float>(font->Size());
1899 fLink.Attach<uint16>(font->Face());
1900 fLink.Attach<uint32>(font->Flags());
1924 // 1) int32 the index of the font family to get
1928 // 2) uint32 - flags of font family (B_IS_FIXED || B_HAS_TUNED_FONT)
1980 // 1) font_family The name of the font family
2014 // 1) font_family - name of font family to use
2018 // 5) face - the font's current face
2034 // get the font and return IDs and face
2051 // we try to keep the font face close to what we got
2073 // 1) uint16 font_file_format of font
2105 // 3) float point size of font
2145 ServerFont font;
2147 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2151 font.SetSize(size);
2152 font.SetSpacing(spacing);
2158 widthArray[i] = font.StringWidth(stringArray[i],
2183 // 3) float - font size
2186 // 1) BRect - box holding entire font
2195 ServerFont font;
2197 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2201 font.SetSize(size);
2204 fLink.Attach<BRect>(font.BoundingBox());
2221 // 1) int32 - number of font strikes available
2254 // 3) uint32 - index of the particular font strike
2275 // 1) uint32 - extra font flags
2346 // 1) unicode_block - bitfield of Unicode blocks in font
2352 ServerFont font;
2353 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2358 font.GetUnicodeBlocks(blocksForFont);
2380 // 1) bool - whether or not font includes specified block range
2389 ServerFont font;
2390 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2396 status = font.IncludesUnicodeBlock(start, end, hasBlock);
2452 ServerFont font;
2453 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2457 font.SetSize(size);
2458 font.SetShear(shear);
2459 font.SetRotation(rotation);
2460 font.SetFalseBoldWidth(falseBoldWidth);
2461 font.SetFlags(flags);
2463 status = font.GetGlyphShapes(charArray, numChars, shapes);
2509 ServerFont font;
2510 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2514 status = font.GetHasGlyphs(charArray, numBytes, numChars,
2560 ServerFont font;
2561 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2565 status = font.GetEdges(charArray, numBytes, numChars,
2640 ServerFont font;
2641 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2645 font.SetSize(size);
2646 font.SetSpacing(spacing);
2647 font.SetRotation(rotation);
2648 font.SetFlags(flags);
2650 status = font.GetEscapements(charArray, numBytes, numChars,
2727 ServerFont font;
2728 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2732 font.SetSize(size);
2733 font.SetSpacing(spacing);
2734 font.SetRotation(rotation);
2735 font.SetFlags(flags);
2737 status = font.GetEscapements(charArray, numBytes, numChars,
2816 ServerFont font;
2817 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2821 font.SetSize(size);
2822 font.SetRotation(rotation);
2823 font.SetShear(shear);
2824 font.SetFalseBoldWidth(falseBoldWidth);
2825 font.SetSpacing(spacing);
2826 font.SetFlags(flags);
2829 status = font.GetBoundingBoxes(charArray, numBytes,
2906 ServerFont font;
2907 status_t status = font.SetFamilyAndStyle(familyID, styleID,
2911 font.SetSize(ptsize);
2912 font.SetRotation(rotation);
2913 font.SetShear(shear);
2914 font.SetFalseBoldWidth(falseBoldWidth);
2915 font.SetSpacing(spacing);
2916 font.SetFlags(flags);
2918 status = font.GetBoundingBoxesForStrings(stringArray,