• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/src/

Lines Matching +defs:font +defs:size

63    A fontset is a collection of font related information to give
64 similar appearance (style, size, etc) of characters. There are two
77 FONTNAME is a font name pattern for the corresponding character.
79 a font name for the corresponding character. INDEX specifies for
82 instance, if a fontset defines some font for all characters of
116 font for a specific character, the corresponding value in the
144 font for each characters. */
147 /* Alist of font specifications. It override the font specification
162 /* Return a pointer to struct font_info of font FONT_IDX of frame F. */
165 /* Return a list of font names which matches PATTERN. See the documentation
169 int size,
172 /* Load a font named NAME for frame F and return a pointer to the
173 information of the loaded font. If loading is failed, return 0. */
176 /* Return a pointer to struct font_info of a font named NAME for frame F. */
383 int size = ASIZE (Vfontset_table);
393 if (id + 1 == size)
398 tem = Fmake_vector (make_number (size + 8), Qnil);
399 for (i = 0; i < size; i++)
476 /* Return ASCII font name of the fontset with ID. */
589 /* Return the font name pattern for C that is recorded in the fontset
590 with ID. If a font name pattern is specified (instead of a cons of
591 family and registry), check if a font can be opened by that pattern
592 to get the fullname. If a font is opened, return that name.
629 /* The fontset specifies only a font name pattern (not cons of
630 family and registry). If a font can be opened by that pattern,
631 return the name of opened font. Otherwise return nil. The
632 exception is a font for single byte characters. In that case, we
634 font name. */
650 /* Load a font named FONTNAME to display character C on frame F.
651 Return a pointer to the struct font_info of the loaded font. If
667 int size = 0;
685 that a proper font is already loaded. */
704 fontp = (*load_font_func) (f, fontname, size);
720 /* The font itself tells which code points to be used. Use this
730 /* The font itself doesn't have information about encoding. */
763 /* If we loaded a font for a face that has fontset, record the face
776 /* Set the ASCII font of the default fontset to FONTNAME if that is
919 just as X font name matching algorithm allows.
943 If SIZE is not 0, it is the size (maximum bound width) of fontsets
947 list_fontsets (f, pattern, size)
950 int size;
976 if (size)
980 if (!fontp || size != fontp->size)
990 doc: /* Create a new fontset NAME that contains font information in FONTLIST.
991 FONTLIST is an alist of charsets vs corresponding font name patterns. */)
1025 error ("Elements of fontlist must be a cons of charset and font name pattern");
1042 error ("No ASCII font in the fontlist");
1124 DEFUN ("set-fontset-font", Fset_fontset_font, Sset_fontset_font, 3, 4, 0,
1135 name of a font, REGISTRY is a registry name of a font. */)
1158 error ("Can't change font for a single byte character");
1177 error ("Can't change font for a single byte character");
1183 error ("Can't change font for a single byte character");
1199 are surely redisplayed by a correct font. */
1216 DEFUN ("font-info", Ffont_info, Sfont_info, 1, 2, 0,
1217 doc: /* Return information about a font named NAME on frame FRAME.
1222 OPENED-NAME is the name used for opening the font,
1223 FULL-NAME is the full name of the font,
1224 SIZE is the maximum bound width of the font,
1225 HEIGHT is the height of the font,
1229 If the named font is not yet loaded, return nil. */)
1257 XVECTOR (info)->contents[2] = make_number (fontp->size);
1268 FONT-NAME is the font name for the character at POSITION in the current
1271 FONT-NAME is the font name for display the character CH with the
1274 GLYPH-CODE is the glyph code in the font to use for the character.
1277 the font instead of the character at POSITION.
1281 (1) The window system doesn't have a font for the character (thus
1289 In addition, the returned font name may not take into account of
1294 DEFUN ("internal-char-font", Finternal_char_font, Sinternal_char_font, 1, 2, 0,
1340 if (! face->font || ! face->font_name)
1426 SIZE is the maximum bound width of ASCII font in the fontset,
1427 HEIGHT is the maximum bound height of ASCII font in the fontset,
1431 where FAMILY is a `FAMILY' field of a XLFD font name,
1432 REGISTRY is a `CHARSET_REGISTRY' field of a XLFD font name.
1436 If the ASCII font is not yet opened, SIZE and HEIGHT are 0.
1510 Lisp_Object face_id, font;
1517 if (face && face->font && face->font_name)
1519 font = build_string (face->font_name);
1520 if (NILP (Fmember (font, XCDR (XCDR (elt)))))
1521 XSETCDR (XCDR (elt), Fcons (font, XCDR (XCDR (elt))));
1534 AREF (val, 0) = fontp ? make_number (fontp->size) : make_number (0);
1539 DEFUN ("fontset-font", Ffontset_font, Sfontset_font, 2, 2, 0,
1540 doc: /* Return a font name pattern for character CH in fontset NAME.
1541 If NAME is nil, find a font name pattern in the default fontset. */)
1587 `set-fontset-font'.
1589 It overrides the font specifications for each TARGET in the default
1665 DEFVAR_LISP ("font-encoding-alist", &Vfont_encoding_alist,
1689 is assumed to be what specified by _MULE_DEFAULT_ASCENT property of a font.
1705 When a specified font name is not found, the corresponding
1715 DEFVAR_LISP ("vertical-centering-font-regexp",
1717 doc: /* *Regexp matching font names that require vertical centering on display.