Searched refs:font (Results 1 - 25 of 293) sorted by last modified time

1234567891011>>

/haiku/src/apps/charactermap/
H A DCharacterView.cpp61 CharacterView::SetCharacterFont(const BFont& font) argument
63 fCharacterFont = font;
509 BFont font; local
510 GetFont(&font);
570 SetFont(&font);
/haiku/src/servers/app/font/
H A DGlyphLayoutEngine.h135 // We need to create new glyphs with the engine of the fallback font
136 // and store them in the main font cache (not just transfer them from
193 static FontCacheEntry* FontCacheEntryFor(const ServerFont& font,
198 const ServerFont& font,
208 const ServerFont& font, bool forceVector);
218 const ServerFont& font, bool needsVector,
247 GlyphLayoutEngine::FontCacheEntryFor(const ServerFont& font, bool forceVector) argument
250 FontCacheEntry* entry = cache->FontCacheEntryFor(font, forceVector);
258 const ServerFont& font,
283 entry = FontCacheEntryFor(font, consume
257 LayoutGlyphs(GlyphConsumer& consumer, const ServerFont& font, const char* utf8String, int32 length, int32 maxChars, const escapement_delta* delta, uint8 spacing, const BPoint* offsets, FontCacheReference* _cacheReference) argument
376 _CreateGlyph(FontCacheReference& cacheReference, BObjectList<FontCacheReference>& fallbacks, const ServerFont& font, bool forceVector, uint32 charCode) argument
408 PopulateFallbacks( BObjectList<FontCacheReference>& fallbacksList, const ServerFont& font, bool forceVector) argument
[all...]
H A DGlobalFontManager.cpp11 /*! Manages font families and styles */
168 // let the font be written completely before trying to open it
178 // a new font
212 // something has been added to our watched font directories
248 FTRACE(("font moved"));
250 FTRACE(("font added: %s\n", name));
255 // and entry has been removed from our font directories
261 // remove font style from directory
282 // remove font style from directory
398 // unknown directory, maybe this is a user font
627 _PrecacheFontFile(const ServerFont* font) argument
[all...]
H A DFontCacheEntry.cpp150 FontCacheEntry::Init(const ServerFont& font, bool forceVector) argument
155 glyph_rendering renderingType = _RenderTypeFor(font, forceVector);
157 // TODO: encoding from font
159 bool hinting = font.Hinting();
162 if (font.FontData() != NULL)
163 success = fEngine.Init(NULL, font.FaceIndex(), font.Size(), charMap,
164 renderingType, hinting, (const void*)font.FontData(), font.FontDataSize());
166 success = fEngine.Init(font
392 GenerateSignature(char* signature, size_t signatureSize, const ServerFont& font, bool forceVector) argument
424 _RenderTypeFor(const ServerFont& font, bool forceVector) argument
[all...]
/haiku/src/servers/app/
H A DServerApp.cpp1573 /* 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; local
1614 status = font.SetFamilyAndStyle(familyID, styleID,
1619 fLink.Attach<uint16>(font
1722 ServerFont font; local
1816 ServerFont font; local
1878 ServerFont* font = NULL; local
2145 ServerFont font; local
2195 ServerFont font; local
2352 ServerFont font; local
2389 ServerFont font; local
2452 ServerFont font; local
2509 ServerFont font; local
2560 ServerFont font; local
2640 ServerFont font; local
2727 ServerFont font; local
2816 ServerFont font; local
2906 ServerFont font; local
[all...]
H A DServerFont.h37 ServerFont(const ServerFont& font);
40 ServerFont &operator=(const ServerFont& font);
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp146 BFont font; local
147 view->GetFont(&font);
149 font.GetTruncatedStrings(source, 1, truncMode, width, results);
H A DContainerWindow.cpp2989 BFont font; {
2991 parentMenu->GetFont(&font);
2998 menu->SetFont(&font);
3460 BFont font; local
3461 menu->GetFont(&font);
3462 mimeMenu->SetFont(&font);
3492 BFont font; local
3493 menu->GetFont(&font);
3494 mimeMenu->SetFont(&font);
H A DTextWidget.cpp666 BFont font; local
667 drawView->GetFont(&font);
674 font.SetFalseBoldWidth(2.0);
675 drawView->SetFont(&font, B_FONT_FALSE_BOLD_WIDTH);
681 font.SetFalseBoldWidth(1.0);
682 drawView->SetFont(&font, B_FONT_FALSE_BOLD_WIDTH);
688 font.SetFalseBoldWidth(0.0);
689 drawView->SetFont(&font, B_FONT_FALSE_BOLD_WIDTH);
694 font.SetFalseBoldWidth(1.0);
695 drawView->SetFont(&font, B_FONT_FALSE_BOLD_WIDT
[all...]
H A DUtilities.cpp713 BFont font; local
714 GetFont(&font);
715 offscreen->SetFont(&font);
737 font.GetEdges(Text(), 1, &eInfo);
/haiku/src/apps/pulse/
H A DNormalPulseView.cpp47 BFont font(be_plain_font);
48 font.SetSize(8);
49 SetFont(&font);
285 // Let's compute the best font size for the CPU speed string each time...
/haiku/src/apps/drivesetup/
H A DDiskView.cpp68 BFont font; local
69 GetFont(&font);
70 font.SetSize(ceilf(font.Size() * 0.85));
71 font.SetRotation(90.0);
72 SetFont(&font);
74 fGroupLayout->SetInsets(kLayoutInset, kLayoutInset + font.Size(),
77 SetExplicitMinSize(BSize(font.Size() + 20, 30));
197 BFont font; local
198 GetFont(&font);
[all...]
H A DPartitionList.cpp176 BFont font; local
177 parent->GetFont(&font);
178 width = font.StringWidth(bitmapField->String()) + 3 * sTextMargin;
184 BFont font; local
185 parent->GetFont(&font);
186 width = font.StringWidth(stringField->String()) + 2 * sTextMargin;
202 BFont font; local
203 parent->GetFont(&font);
204 sTextMargin = ceilf(font.Size() * 0.8);
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp707 // add extra height for dragger: fixed, and insets: font-dependent
746 // determine initial line count using current font
1032 // based on font size
1405 BFont font(be_bold_font);
1406 //font.SetSize(be_bold_font->Size());
1407 font.SetFace(B_BOLD_FACE | B_ITALIC_FACE);
1409 fCreditsView->SetFontAndColor(&font, B_FONT_ALL, &fHaikuYellowColor);
1521 BFont font(be_bold_font);
1522 font.SetSize(be_bold_font->Size());
1523 font
[all...]
/haiku/src/kits/interface/
H A DColumnTypes.cpp70 BFont font; local
73 parent->GetFont(&font);
74 font.GetHeight(&finfo);
86 + ((width - font.StringWidth(string)) / 2), y);
91 - font.StringWidth(string), y);
330 BFont font; local
332 parent->GetFont(&font);
350 if (output >= 0 && font.StringWidth(dateString) <= width)
357 if (font.StringWidth(dateString) > width) {
420 BFont font; local
[all...]
H A DFont.cpp112 // TODO: compare font names according to the user's locale settings
120 : BLocker("font list"),
277 // if the font list has been changed in the mean time, just update again
288 // an updated font list is at least valid for 1 second
356 BFont* font = &dummy; local
359 font = &sPlainFont;
361 font = &sBoldFont;
363 font = &sFixedFont;
365 link.Read<uint16>(&font->fFamilyID);
366 link.Read<uint16>(&font
378 _font_control_(BFont* font, int32 cmd, void* data) argument
524 BFont(const BFont& font) argument
530 BFont(const BFont* font) argument
1372 operator =(const BFont& font) argument
[all...]
H A DHaikuControlLook.cpp468 BFont font; local
469 view->GetFont(&font);
470 float inset = std::max(2.0f, roundf(font.Size() / 6));
552 BFont font; local
553 view->GetFont(&font);
554 float inset = roundf(font.Size() / 4);
2267 BFont font; local
2268 view->GetFont(&font);
2274 font.SetFalseBoldWidth(2.0);
2275 view->SetFont(&font, B_FONT_FALSE_BOLD_WIDT
2353 BFont font; local
[all...]
H A DStatusBar.cpp309 BFont font; local
310 GetFont(&font);
313 font.TruncateString(&rightText, B_TRUNCATE_BEGINNING,
320 font.TruncateString(&leftText, B_TRUNCATE_END, width);
/haiku/src/apps/webpositive/support/
H A DFontSelectionView.cpp61 fFontsMenu = new BPopUpMenu("font menu");
63 // font menu
225 FontSelectionView::SetFont(const BFont& font, float size) argument
227 BFont resizedFont(font);
234 FontSelectionView::SetFont(const BFont& font) argument
236 if (font == fCurrentFont && font == fSavedFont)
240 fSavedFont = fCurrentFont = font;
316 BFont font = fCurrentFont; local
320 font
511 _AddStylesToMenu(const BFont& font, BMenu* stylesMenu) const argument
[all...]
/haiku/src/apps/terminal/
H A DTermWindow.cpp433 BFont font; local
434 view->GetTermFont(&font);
436 float size = font.Size();
676 TermWindow::_GetPreferredFont(BFont& font) argument
679 font = be_fixed_font;
687 font.SetFamilyAndStyle(family, style);
688 font.SetSize(atoi(size));
690 // mark the font size menu item
906 BFont font; local
907 _GetPreferredFont(font);
934 BFont font; local
1137 BFont font; local
1361 BFont font; local
[all...]
/haiku/headers/os/interface/
H A DFont.h22 // font spacing
37 // font flags
54 // font encodings
78 // font face flags
178 BFont(const BFont& font);
179 BFont(const BFont* font);
279 BFont& operator=(const BFont& font);
280 bool operator==(const BFont& font) const;
281 bool operator!=(const BFont& font) const;
/haiku/src/apps/webpositive/
H A DURLInputGroup.cpp375 BFont font; local
376 GetFont(&font);
381 SetFontAndColor(0, baseUrlStart, &font, B_FONT_ALL, &urlColor);
383 font.SetFace(B_BOLD_FACE);
384 SetFontAndColor(baseUrlStart, baseUrlEnd, &font, B_FONT_ALL,
388 font.SetFace(B_REGULAR_FACE);
389 SetFontAndColor(baseUrlEnd, TextLength(), &font, B_FONT_ALL,
/haiku/src/apps/deskcalc/
H A DExpressionTextView.cpp201 BFont font; local
203 GetFontAndColor(&font, &mode);
204 float stringWidth = font.StringWidth(value);
249 stringWidth = font.StringWidth(temp);
274 stringWidth = font.StringWidth(value);
280 stringWidth = font.StringWidth(value);
H A DCalcView.cpp752 // configure expression text view font size and color
755 BFont font(be_bold_font);
756 font.SetSize(sizeDisp * kExpressionFontScaleY);
758 fExpressionTextView->SetFontAndColor(&font, B_FONT_ALL, &fontColor);
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp394 // for faster font rendering, we restore B_OP_COPY
2256 BFont font; local
2257 view->GetFont(&font);
2263 font.SetFalseBoldWidth(2.0);
2264 view->SetFont(&font, B_FONT_FALSE_BOLD_WIDTH);
2270 font.SetFalseBoldWidth(1.0);
2271 view->SetFont(&font, B_FONT_FALSE_BOLD_WIDTH);
2277 font.SetFalseBoldWidth(0.0);
2278 view->SetFont(&font, B_FONT_FALSE_BOLD_WIDTH);
2280 font
2356 BFont font; local
[all...]

Completed in 139 milliseconds

1234567891011>>