Searched refs:face (Results 1 - 25 of 39) sorted by last modified time

12

/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp575 \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 DFontStyle.h42 FT_Face face, FontManager* fontManager);
133 status_t UpdateFace(FT_Face face);
H A DFontStyle.cpp28 \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 DFontManager.h58 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 DFontManager.cpp60 \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 DFontFamily.cpp223 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 DFontFamily.h24 FontFamily objects bring together many styles of the same face, such as
37 FontStyle* GetStyleMatchingFace(uint16 face) const;
H A DAppFontManager.cpp68 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 DGlobalFontManager.h71 uint16 face = 0);
/haiku/src/servers/app/
H A DServerApp.cpp1590 // 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 DServerFont.h103 status_t SetFace(uint16 face);
190 void PutTransformedFace(FT_Face face) const;
H A DServerFont.cpp334 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 DDrawState.cpp198 uint16 face; local
199 link.Read<uint16>(&face);
200 fFont.SetFace(face);
757 // face
H A DServerPicture.cpp876 set_font_face(void* _canvas, uint16 face) argument
880 font.SetFace(face);
H A DPictureBoundingBoxPlayer.cpp713 set_font_face(void* _state, uint16 face) argument
719 font.SetFace(face);
/haiku/src/kits/interface/
H A DFont.cpp53 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 DTextView.cpp102 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 DPicturePlayer.cpp427 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 DPictureDataWriter.cpp839 PictureDataWriter::WriteSetFontFace(const int32& face) argument
843 Write<int32>(face);
/haiku/headers/os/interface/
H A DFont.h78 // 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 DCharacterStyle.cpp95 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 DTermView.cpp815 uint16 face = fBoldFont.Face(); local
816 fBoldFont.SetFace(B_BOLD_FACE | (face & ~B_REGULAR_FACE));
/haiku/src/apps/stylededit/
H A DStyledEditWindow.cpp1904 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 Dconvert.cpp244 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 Dstxtinfo.cpp73 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));

Completed in 191 milliseconds

12