Lines Matching defs:font

112 	// 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;
359 font = &sPlainFont;
361 font = &sBoldFont;
363 font = &sFixedFont;
365 link.Read<uint16>(&font->fFamilyID);
366 link.Read<uint16>(&font->fStyleID);
367 link.Read<float>(&font->fSize);
368 link.Read<uint16>(&font->fFace);
369 link.Read<uint32>(&font->fFlags);
371 font->fHeight.ascent = kUninitializedAscent;
372 font->fExtraFlags = kUninitializedExtraFlags;
378 _font_control_(BFont* font, int32 cmd, void* data)
397 // Private function used to replace the R5 hack which sets a system font
436 // Returns the number of installed font families
444 // Returns the number of styles available for a font family
479 // proper flag for 90%-99% of font names.
488 // Updates the font family list
524 BFont::BFont(const BFont& font)
526 *this = font;
530 BFont::BFont(const BFont* font)
532 if (font != NULL)
533 *this = *font;
539 // Sets the font's family and style all at once
570 // Sets the font's family and style all at once
604 // Sets the font's family and face all at once
810 // Returns whether or not the font is fixed-width and contains both
816 // Kanji and Roman characters in the same fixed-width font.
947 // Truncates a string to a given _pixel_ width based on the font and size
974 // get the escapement of each glyph in font units
1182 // we don't have the font height cached yet
1372 BFont::operator=(const BFont& font)
1374 fFamilyID = font.fFamilyID;
1375 fStyleID = font.fStyleID;
1376 fSize = font.fSize;
1377 fShear = font.fShear;
1378 fRotation = font.fRotation;
1379 fFalseBoldWidth = font.fFalseBoldWidth;
1380 fSpacing = font.fSpacing;
1381 fEncoding = font.fEncoding;
1382 fFace = font.fFace;
1383 fHeight = font.fHeight;
1384 fFlags = font.fFlags;
1385 fExtraFlags = font.fExtraFlags;
1392 BFont::operator==(const BFont& font) const
1394 return fFamilyID == font.fFamilyID
1395 && fStyleID == font.fStyleID
1396 && fSize == font.fSize
1397 && fShear == font.fShear
1398 && fRotation == font.fRotation
1399 && fFalseBoldWidth == font.fFalseBoldWidth
1400 && fSpacing == font.fSpacing
1401 && fEncoding == font.fEncoding
1402 && fFace == font.fFace;
1407 BFont::operator!=(const BFont& font) const
1409 return fFamilyID != font.fFamilyID
1410 || fStyleID != font.fStyleID
1411 || fSize != font.fSize
1412 || fShear != font.fShear
1413 || fRotation != font.fRotation
1414 || fFalseBoldWidth != font.fFalseBoldWidth
1415 || fSpacing != font.fSpacing
1416 || fEncoding != font.fEncoding
1417 || fFace != font.fFace;
1437 // TODO: this has to be const in order to allow other font getters to
1539 // reset to plain font