Lines Matching defs:fonts
106 if (fonts == NULL || new_fnames.field != fonts->field) { \
657 fonts, we just double the X-resolution, for double height
658 * fonts we double the pixel-size and Y-resolution
771 * actually gave us. The larger fixed fonts do not always have a matching bold
828 * leave trash on the display when we mix normal and bold fonts.
914 /* Some Korean fonts don't have Chinese characters at all. */
1157 * Close the listed fonts, noting that some may use copies of the pointer.
1535 TRACE(("...ignoring mismatched normal/bold fonts\n"));
1666 TRACE(("...ignoring mismatched normal/bold wide fonts\n"));
1682 const VTFontNames * fonts,
1701 if (fonts != NULL)
1702 new_fnames = *fonts;
1744 * of normal fonts XLFD, and asking for it. This plucks out 18x18ja
1745 * and 12x13ja as the corresponding fonts for 9x18 and 6x13.
1770 * Normal/bold fonts should be the same width. Also, the min/max
1805 * If we're switching fonts, free the old ones. Otherwise we'll leak
1806 * the memory that is associated with the old fonts. The
1990 * (Attempt to) load matching italics for the current normal/bold/etc fonts.
2046 * Collect font-names that we can modify with the load-vt-fonts() action.
2056 if (dst.fonts.x11.name == NULL) \
2057 dst.fonts.x11.name = TypeCalloc(char *); \
2058 if (merge_sublist(&(dst.fonts.x11.name), src.fonts.x11.name)) { \
2059 TRACE(("MERGE_SUBLIST " #dst "." #name " merge \"%s\"\n", src.fonts.x11.name[0])); \
2061 TRACE(("MERGE_SUBLIST " #dst "." #name " found \"%s\"\n", dst.fonts.x11.name[0])); \
2097 xtermCopyFontLists(xw, &target.fonts.x11, &source.fonts.x11)
2285 &(subresourceRec.fonts), \
2373 * If the current fonts are not wide, load the UTF8 fonts.
2375 * Called during initialization (for wide-character mode), the fonts have not
2379 * (starting from narrow character mode), it checks if the fonts are not wide.
2401 TRACE(("current fonts are not all wide%s\n", nullOk ? " nullOk" : ""));
2410 * Restore the default fonts, i.e., if we had switched to wide-fonts.
2454 * When switching fonts, try to preserve the font-menu
2675 /* This is legal for regular bitmap fonts - fontconfig attempts to
2676 * find a match - but problematic for misencoded color-bitmap fonts.
3118 * While it is possible for badly-designed fonts to have line
3230 * for each font to ensure that normal, bold and italic fonts follow the same
3406 ? FirstItemOf(xw->work.fonts.xft.list_w)
3416 * If we change the faceName, we'll have to re-acquire all of the fonts that
3460 * xterm contains a lot of references to fonts, assuming they are fixed
3463 * font-loading for fixed-fonts still goes on whether or not this chunk
3663 double aspect = ((FirstItemOf(xw->work.fonts.xft.list_w)
3758 /* now we will fall through into the bitmap fonts */
4396 * Some (more than a few) fonts are sloppy; allow 10% outside
4465 VTFontList *lists = &xw->work.fonts.xft;
4594 * Check if there are additional fonts in the XtermFontNames.xft for
4619 sortedFonts->fonts[j]);
4673 myReport = FcPatternDuplicate(fontData->fontset->fonts[nn]);
4675 myPattern = FcPatternDuplicate(fontData->fontset->fonts[nn]);
5026 * default the same ratios to the default as the fixed fonts
5028 * since the fixed fonts have a variety of height/width ratios,
5030 * as noted above, the data for the fixed fonts are available.
5090 * sizes are the same, and if we're using TrueType fonts.
5125 TRACE(("bitmap fonts are broken - set faceSize resources\n"));
5329 VTFontNames fonts;
5331 memset(&fonts, 0, sizeof(fonts));
5372 fonts.f_wb = x_strdup(params[4]);
5375 fonts.f_w = x_strdup(params[3]);
5379 fonts.f_b = x_strdup(params[2]);
5382 fonts.f_n = x_strdup(params[1]);
5387 SetVTFont(xw, fontnum, True, &fonts);
5395 const VTFontNames * fonts)
5401 (fonts && fonts->f_n) ? fonts->f_n : "<null>",
5402 (fonts && fonts->f_b) ? fonts->f_b : "<null>"));
5410 if (fonts != NULL)
5411 new_fnames = *fonts;
5678 xtermWarning("too many fonts for %s, ignoring %s\n",
5769 initFontList(xw, "x11 font", &(xw->work.fonts), False);
5771 initFontList(xw, "xft font", &(xw->work.fonts), True);
5775 &(xw->screen.cacheVTFonts.fonts), False);
6093 if (value == &(xw->work.fonts.x11))
6096 else if (value == &(xw->work.fonts.xft))
6100 else if (value == &(xw->screen.cacheVTFonts.fonts.x11))
6132 if (DATA(work.fonts.x11) == NULL) {
6134 if (DATA(work.fonts.xft) == NULL)
6137 if (DATA(screen.cacheVTFonts.fonts.x11) == NULL)