Lines Matching refs:bold

35  * it constructs font names with specific properties changed, e.g., for bold
236 * Verify that the wide-bold font is at least a bold font with roughly as many
248 TRACE(("...font server lied (count wide %u vs wide-bold %u)\n",
574 return derive_font_name(props, "bold", use_average_width, props->end);
648 return derive_wide_font(props, "bold");
684 weight = "bold";
771 * actually gave us. The larger fixed fonts do not always have a matching bold
776 * behavior, which simulates bold by overstriking each character at one pixel
794 * Check normal/bold (or wide/wide-bold) font pairs to see if we will be able
798 comparable_metrics(XFontStruct *normal, XFontStruct *bold)
803 if (normal == NULL || bold == NULL) {
806 if (bold->all_chars_exist) {
809 TRACE((DATA "all chars exist in normal font, but not in bold\n"));
812 if (bold->per_char != NULL) {
815 TRACE((DATA "normal font has per-char metrics, but not bold\n"));
828 * leave trash on the display when we mix normal and bold fonts.
1043 /* these combinations of wide/bold/italic are all "derived" */
1500 TRACE(("...derived bold '%s'\n", NonNull(*nameOutP)));
1504 TRACE(("...cannot load a matching bold font\n"));
1508 TRACE(("...got a matching bold font\n"));
1513 TRACE(("...did not get a matching bold font\n"));
1518 TRACE(("...cannot load bold font '%s'\n", NonNull(*nameOutP)));
1535 TRACE(("...ignoring mismatched normal/bold fonts\n"));
1608 char *bold = NULL;
1614 fp = get_font_name_props(screen->display, boldInfoRef->fs, &bold);
1635 TRACE(("...cannot load wide-bold, use bold %s\n",
1640 TRACE(("...cannot load wide-bold, use wide %s\n",
1644 TRACE(("...%s wide/bold %s\n",
1651 TRACE(("...bold font is double-width, use it %s\n", NonNull(boldNameRef)));
1654 TRACE(("...cannot load wide bold font, use wide %s\n", NonNull(wideNameRef)));
1657 free(bold);
1666 TRACE(("...ignoring mismatched normal/bold wide fonts\n"));
1677 * Load a given bitmap font, along with the bold/wide variants.
1721 DbgResource("bold ", f_b, fBold);
1724 DbgResource("w/bold", f_wb, fWBold);
1770 * Normal/bold fonts should be the same width. Also, the min/max
1778 TRACE(("Proportional font! normal %d/%d, bold %d/%d\n",
1792 TRACE(("Proportional font! wide %d/%d, wide bold %d/%d\n",
1888 TRACE(("missing bold char #%d\n", ch));
1907 TRACE(("Will %suse 1-pixel offset/overstrike to simulate bold\n",
1990 * (Attempt to) load matching italics for the current normal/bold/etc fonts.
2389 && isWideFont(GetNormalFont(screen, fBold)->fs, "bold", nullOk));
2393 "wide-bold", nullOk));
2397 "bold", nullOk));
3230 * for each font to ensure that normal, bold and italic fonts follow the same
3469 XTermXftFonts *bold = &(screen->renderFontBold[fontnum]);
3520 * cumulative. Build the bold- and italic-patterns on top of the
3577 bold->pattern = XftPatternDuplicate(pat);
3578 XftPatternBuild(bold->pattern,
3582 OPEN_XFT(bold, "bold");
3597 OPEN_XFT(btal, "bold-italic");
3613 CACHE_XFT(bold);
3614 if (XftFp(norm) != NULL && !XftFp(bold)) {
3615 noUsableXft(xw, "bold");
3616 XftPatternDestroy(bold->pattern);
3617 bold->pattern = XftPatternDuplicate(pat);
3618 XftPatternBuild(bold->pattern,
3621 OPEN_XFT(bold, "bold");
3623 CACHE_XFT(bold);
3640 noUsableXft(xw, "bold italic");
3646 OPEN_XFT(btal, "bold-italics");
3694 OPEN_XFT(wbold, "wide-bold");
3707 noUsableXft(xw, "wide bold");
3713 OPEN_XFT(wbtal, "wide-bold-italics");
3724 noUsableXft(xw, "wide-bold");
3727 XftPatternBuild(bold->pattern,
3730 OPEN_XFT(wbold, "wide-bold");
3732 CACHE_XFT(bold);
3762 setRenderFontsize(xw, win, bold, "bold");