/haiku/src/servers/app/font/ |
H A D | GlobalFontManager.cpp | 575 \param face is used to specify the style if both \a style is NULL or empty 582 uint16 familyID, uint16 styleID, uint16 face) 621 // try to get from face 622 return family->GetStyleMatchingFace(face); 715 FT_Face face; 716 FT_Error error = FT_New_Face(gFreeTypeLibrary, path.Path(), -1, &face); 719 FT_Long count = face->num_faces; 720 FT_Done_Face(face); 723 FT_Error error = FT_New_Face(gFreeTypeLibrary, path.Path(), -(i + 1), &face); 726 uint32 variableCount = (face 581 GetStyle(const char* familyName, const char* styleName, uint16 familyID, uint16 styleID, uint16 face) argument [all...] |
H A D | FontStyle.h | 42 FT_Face face, FontManager* fontManager); 133 status_t UpdateFace(FT_Face face);
|
H A D | FontStyle.cpp | 28 \param face FreeType handle for the font file after it is loaded - it will 31 FontStyle::FontStyle(node_ref& nodeRef, const char* path, FT_Face face, argument 34 fFreeTypeFace(face), 35 fName(face->style_name), 41 fFace(_TranslateStyleToFace(face->style_name)), 50 fHeight.ascent = (double)face->ascender / face->units_per_EM; 51 fHeight.descent = (double)-face->descender / face->units_per_EM; 56 fHeight.leading = (double)(face 206 UpdateFace(FT_Face face) argument 245 uint16 face = 0; local [all...] |
H A D | FontManager.h | 58 uint16 face = 0); 59 FontStyle* FindStyleMatchingFace(uint16 face) const; 67 FT_CharMap _GetSupportedCharmap(const FT_Face& face); 72 status_t _AddFont(FT_Face face, node_ref nodeRef,
|
H A D | FontManager.cpp | 60 \param face Font handle obtained from FT_Load_Face() 64 FontManager::_GetSupportedCharmap(const FT_Face& face) argument 66 for (int32 i = 0; i < face->num_charmaps; i++) { 67 FT_CharMap charmap = face->charmaps[i]; 222 \param face is used to specify the style if both \a style is NULL or empty 229 uint16 familyID, uint16 styleID, uint16 face) 255 // try to get from face 256 return family->GetStyleMatchingFace(face); 264 FontManager::FindStyleMatchingFace(uint16 face) const 270 FontStyle* style = family->GetStyleMatchingFace(face); 228 GetStyle(const char* familyName, const char* styleName, uint16 familyID, uint16 styleID, uint16 face) argument 298 _AddFont(FT_Face face, node_ref nodeRef, const char* path, uint16& familyID, uint16& styleID) argument [all...] |
H A D | FontFamily.cpp | 223 FontFamily::GetStyleMatchingFace(uint16 face) const 225 // Other face flags do not impact the font selection (they are applied 227 face &= B_BOLD_FACE | B_ITALIC_FACE | B_REGULAR_FACE | B_CONDENSED_FACE 229 if (face == 0) 230 face = B_REGULAR_FACE; 236 if (style->Face() == face)
|
H A D | FontFamily.h | 24 FontFamily objects bring together many styles of the same face, such as 37 FontStyle* GetStyleMatchingFace(uint16 face) const;
|
H A D | AppFontManager.cpp | 68 FT_Face face; 69 FT_Error error = FT_New_Face(gFreeTypeLibrary, path, index | (instance << 16), &face); 73 status = _AddFont(face, nodeRef, path, familyID, styleID); 89 FT_Face face; local 91 index | (instance << 16), &face); 95 status = _AddFont(face, nodeRef, "", familyID, styleID);
|
H A D | GlobalFontManager.h | 71 uint16 face = 0);
|
/haiku/src/servers/app/ |
H A D | ServerApp.cpp | 1590 // 3) uint16 - face of added font 1646 // 3) uint16 - face of added font 1855 // 4) uint16 - face flags 1932 // 2) uint16 - face of style 2018 // 5) face - the font's current face 2023 // 3) uint16 - face 2028 uint16 face; local 2033 && link.Read<uint16>(&face) == B_OK) { 2034 // get the font and return IDs and face [all...] |
H A D | ServerFont.h | 103 status_t SetFace(uint16 face); 190 void PutTransformedFace(FT_Face face) const;
|
H A D | ServerFont.cpp | 334 ServerFont::SetFace(uint16 face) argument 336 // Don't confuse the Be API "face" with the Freetype face, which is just 339 // API face flags in FontStyle::_TranslateStyleToFace(). 341 if (fStyle->PreservedFace(face) == face) { 342 fFace = face; 354 if (style->PreservedFace(face) == face) 366 fFace = face; 394 FT_Face face = fStyle->FreeTypeFace(); local 623 FT_Face face = GetTransformedFace(true, true); local 663 FT_Face face = GetTransformedFace(true, true); local 1107 FT_Face face = fStyle->FreeTypeFace(); local [all...] |
H A D | DrawState.cpp | 198 uint16 face; local 199 link.Read<uint16>(&face); 200 fFont.SetFace(face); 757 // face
|
H A D | ServerPicture.cpp | 876 set_font_face(void* _canvas, uint16 face) argument 880 font.SetFace(face);
|
H A D | PictureBoundingBoxPlayer.cpp | 713 set_font_face(void* _state, uint16 face) argument 719 font.SetFace(face);
|
/haiku/src/kits/interface/ |
H A D | Font.cpp | 53 uint16 face; member in struct:style 190 *_face = style->face; 266 link.Read<uint16>(&style->face); 477 // The face value returned by this function is not very reliable. At the 574 // R5 has a bug here: the face is not updated even though the IDs are set. 575 // This is a problem because the face flag includes Regular/Bold/Italic 604 // Sets the font's family and face all at once 606 BFont::SetFamilyAndFace(const font_family family, uint16 face) argument 609 // i.e. passing a nonexistent family will cause only the face to be set. 610 // Additionally, if a particular face doe 681 SetFace(uint16 face) argument [all...] |
H A D | TextView.cpp | 102 uint16 face; // typically 0 member in struct:flattened_text_run 2936 array->styles[i].face = B_HOST_TO_BENDIAN_INT16( 2988 uint16 face = B_BENDIAN_TO_HOST_INT16(array->styles[i].face); local 2989 if (face != B_REGULAR_FACE) { 2991 runArray->runs[i].font.SetFace(face);
|
H A D | PicturePlayer.cpp | 427 set_font_face(void* _context, uint16 face) argument 431 face); 1551 const uint32* face; local 1552 if (callbacks.set_font_face == NULL || !reader.Get(face)) 1555 callbacks.set_font_face(userData, *face);
|
H A D | PictureDataWriter.cpp | 839 PictureDataWriter::WriteSetFontFace(const int32& face) argument 843 Write<int32>(face);
|
/haiku/headers/os/interface/ |
H A D | Font.h | 78 // font face flags 166 uint16 face; member in struct:tuned_font_info 185 uint16 face); 193 void SetFace(uint16 face); 336 uint16* face, uint32* flags = NULL);
|
/haiku/src/apps/haikudepot/textview/ |
H A D | CharacterStyle.cpp | 95 uint16 face = Font().Face(); local 96 if ((bold && (face & B_BOLD_FACE) != 0) 97 || (!bold && (face & B_BOLD_FACE) == 0)) { 101 uint16 neededFace = face; 125 uint16 face = Font().Face(); local 126 if ((italic && (face & B_ITALIC_FACE) != 0) 127 || (!italic && (face & B_ITALIC_FACE) == 0)) { 131 uint16 neededFace = face; 417 uint16 face = Font().Face(); local 418 if ((underline && (face [all...] |
/haiku/src/apps/terminal/ |
H A D | TermView.cpp | 815 uint16 face = fBoldFont.Face(); local 816 fBoldFont.SetFace(B_BOLD_FACE | (face & ~B_REGULAR_FACE));
|
/haiku/src/apps/stylededit/ |
H A D | StyledEditWindow.cpp | 1904 uint16 face = 0; local 1907 face = font.Face(); 1910 face |= B_BOLD_FACE; 1913 face |= B_ITALIC_FACE; 1916 face |= B_UNDERSCORE_FACE; 1918 font.SetFace(face);
|
/haiku/src/add-ons/translators/rtf/ |
H A D | convert.cpp | 244 set_font_face(BFont &font, uint16 face, bool on) argument 250 font.SetFace(face); 251 else if ((font.Face() & ~face) == 0 && !on) 254 font.SetFace(font.Face() | face); 256 font.SetFace(font.Face() & ~face);
|
/haiku/src/tools/translation/stxtinfo/ |
H A D | stxtinfo.cpp | 73 uint16 face; // typically 0 member in struct:Style 87 style.face = B_BENDIAN_TO_HOST_INT16(style.face); 96 printf("face: %u (typically 0)\n", 97 static_cast<unsigned int>(style.face));
|