/dports/german/BBBike/BBBike-3.18/lib/BikePower/ |
H A D | HTML.pm | 18 use vars qw($fontstr $VERSION); 20 $fontstr = ""; 54 $body .= $fontstr . <<'EOF'; 66 <tr><td>${fontstr}Fahrergewicht</td><td>${fontstr} <input align=right type=text name=weightcyclist … 67 <tr><td>${fontstr}Gewicht von Rad+Kleidung</td><td>${fontstr} <input type=text name=weightmachine 69 <tr><td>${fontstr}Haltung des Fahrers</td><td>${fontstr}<select name=frontalarea> 78 <tr><td>${fontstr}Rollwiderstand</td><td>${fontstr} <select name=rollfriction> 86 <tr><td>${fontstr}Effizienz der �bertragung</td><td>${fontstr} <input type=text name=transeff value…
|
/dports/games/xzip/xzip/ |
H A D | xinit.c | 212 fontstr[ix] = NULL; in xinit_openconnection() 214 fontstr[ix] = XLoadQueryFont(xiodpy, prefs.font[ix]); in xinit_openconnection() 215 if (!fontstr[ix]) { in xinit_openconnection() 219 fontstr[ix] = XLoadQueryFont(xiodpy, defaultfonts[ix]); in xinit_openconnection() 220 if (!fontstr[ix]) { in xinit_openconnection() 227 fontstr[ix] = fontstr[ix & (~REVERSE)]; in xinit_openconnection() 232 XTextExtents(fontstr[ix], " ", 1, &direction, &ascent, &descent, &overall); in xinit_openconnection() 234 if (fontstr[ix]->ascent + fontstr[ix]->descent > lineheight) in xinit_openconnection() 235 lineheight = fontstr[ix]->ascent + fontstr[ix]->descent; in xinit_openconnection() 236 if (fontstr[ix]->ascent > lineheightoff) in xinit_openconnection() [all …]
|
/dports/polish/gnugadu2/gg2-2.3.0/src/plugins/GUI/ |
H A D | gui_chat_session.c | 273 gchar *fontstr = NULL; in gui_chat_session_create_gtk_widget() local 296 fontstr = ggadu_config_var_get(gui_handler, "msg_header_font"); in gui_chat_session_create_gtk_widget() 299 (fontstr) ? fontstr : DEFAULT_FONT, NULL); in gui_chat_session_create_gtk_widget() 302 fontstr = ggadu_config_var_get(gui_handler, "msg_body_font"); in gui_chat_session_create_gtk_widget() 305 (fontstr) ? fontstr : DEFAULT_FONT, NULL); in gui_chat_session_create_gtk_widget() 308 fontstr = ggadu_config_var_get(gui_handler, "msg_out_header_font"); in gui_chat_session_create_gtk_widget() 311 (fontstr) ? fontstr : DEFAULT_FONT, NULL); in gui_chat_session_create_gtk_widget() 314 fontstr = ggadu_config_var_get(gui_handler, "msg_out_body_font"); in gui_chat_session_create_gtk_widget() 317 (fontstr) ? fontstr : DEFAULT_FONT, NULL); in gui_chat_session_create_gtk_widget()
|
H A D | gui_chat.c | 845 gchar *fontstr = NULL; in create_chat() local 1061 fontstr = ggadu_config_var_get(gui_handler, "msg_header_font"); in create_chat() 1064 … (strlen(colorstr) > 0)) ? colorstr : DEFAULT_TEXT_COLOR, "font", (fontstr) ? fontstr : DEFAULT_FO… in create_chat() 1067 fontstr = ggadu_config_var_get(gui_handler, "msg_body_font"); in create_chat() 1070 … (strlen(colorstr) > 0)) ? colorstr : DEFAULT_TEXT_COLOR, "font", (fontstr) ? fontstr : DEFAULT_FO… in create_chat() 1076 … (strlen(colorstr) > 0)) ? colorstr : DEFAULT_TEXT_COLOR, "font", (fontstr) ? fontstr : DEFAULT_FO… in create_chat() 1082 … (strlen(colorstr) > 0)) ? colorstr : DEFAULT_TEXT_COLOR, "font", (fontstr) ? fontstr : DEFAULT_FO… in create_chat() 1122 font_desc = pango_font_description_from_string (fontstr); in create_chat() 1364 gchar *fontstr; in gui_chat_append() local 1518 if (fontstr) in gui_chat_append() [all …]
|
/dports/x11/nezd/nezd-0.1.0/gadgets/ |
H A D | textwidth.c | 51 void setfont(const char *fontstr) { in setfont() argument 58 font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); in setfont() 79 if (!(font.xfont = XLoadQueryFont(dpy, fontstr))) { in setfont() 80 fprintf(stderr, "error, cannot load font: '%s'\n", fontstr); in setfont()
|
/dports/x11/dzen2/dzen-488ab66/gadgets/ |
H A D | textwidth.c | 54 setfont(const char *fontstr) { in setfont() argument 61 font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); in setfont() 83 if(!(font.xfont = XLoadQueryFont(dpy, fontstr))) { in setfont() 84 fprintf(stderr, "error, cannot load font: '%s'\n", fontstr); in setfont()
|
/dports/multimedia/fxtv/fxtv-1.03/ |
H A D | annot.c | 114 XFontStruct *fontstr = NULL; in TVANNOTLoadFont() local 133 fontstr = XUTILLoadPixelSizeFont( TVDISPLAY, fonts[0], pixel_size, in TVANNOTLoadFont() 136 if ( fontstr == NULL ) { in TVANNOTLoadFont() 141 XFreeFontInfo( NULL, fontstr, 0 ); in TVANNOTLoadFont() 150 fontstr = XLoadQueryFont( TVDISPLAY, fonts[0] ); in TVANNOTLoadFont() 152 if ( fontstr == NULL ) in TVANNOTLoadFont() 155 XFreeFontInfo( NULL, fontstr, 0 ); in TVANNOTLoadFont() 157 if ( fontstr ) in TVANNOTLoadFont() 170 fontstr = XLoadQueryFont( TVDISPLAY, new_font ); in TVANNOTLoadFont() 171 if ( fontstr == NULL ) { in TVANNOTLoadFont() [all …]
|
/dports/graphics/py-traitsui/traitsui-7.1.1/traitsui/null/ |
H A D | font_trait.py | 75 fontstr = ( 86 return fontstr
|
/dports/games/xglk/xglk/ |
H A D | xg_style.c | 134 fref->fontstr = XLoadQueryFont(xiodpy, buf); in gli_styles_compute() 135 if (!fref->fontstr) { in gli_styles_compute() 156 font->gc[ix].indent = (font->gc[ix].fontstr->ascent * val) / 2; in gli_styles_compute() 162 font->gc[ix].parindent = (font->gc[ix].fontstr->ascent * val) / 2; in gli_styles_compute() 178 XTextExtents(fref->fontstr, " ", 1, &dir, &ascent, &descent, &strdat); in gli_styles_compute() 413 *result = font->fontstr->ascent + font->fontstr->descent; in glk_style_measure()
|
H A D | xglk_msg.c | 94 + XTextWidth(plainfonts.gc[0].fontstr, linebuf, linepos); in adjustdot() 150 + XTextWidth(plainfonts.gc[0].fontstr, message, messagelen); in xmsg_getline()
|
/dports/sysutils/xmbmon/xmbmon205/ |
H A D | xmbmon.c | 136 XFontStruct *fontstr; variable 582 cv_width[i] = XTextWidth(fontstr, c_rdv[id], strlen(c_rdv[id])); in repaint_proc() 721 if ((fontstr = XLoadQueryFont(disp, font)) == NULL) { in init_dt() 731 XSetFont(disp, gct, fontstr->fid); in init_dt() 739 XSetFont(disp, gcl[id], fontstr->fid); in init_dt() 742 cg_width[i] = XTextWidth(fontstr, c_rdg[id], strlen(c_rdg[id])); in init_dt() 743 cv_width[i] = XTextWidth(fontstr, c_rdv[id], strlen(c_rdv[id])); in init_dt() 802 y_rdg = fontstr->max_bounds.ascent - 1; in init_dt() 807 c_height = 2 * fontstr->max_bounds.ascent; in init_dt() 816 cm_width = XTextWidth(fontstr, cvmin, strlen(cvmin)) - 1; in init_dt()
|
/dports/net-im/kopete/kopete-21.12.3/libkopete/ |
H A D | kopetemessage.cpp | 639 QString fontstr; in getHtmlStyleAttribute() local 641 fontstr += QLatin1String("font-family: ")+d->font.family()+QLatin1String("; "); in getHtmlStyleAttribute() 644 fontstr += QLatin1String("font-style: italic; "); in getHtmlStyleAttribute() 647 fontstr += QLatin1String("text-decoration: line-through; "); in getHtmlStyleAttribute() 650 fontstr += QLatin1String("text-decoration: underline; "); in getHtmlStyleAttribute() 653 fontstr += QLatin1String("font-weight: bold;"); in getHtmlStyleAttribute() 656 styleAttribute += fontstr; in getHtmlStyleAttribute()
|
/dports/x11-wm/echinus/echinus-0.4.9/ |
H A D | draw.c | 267 initfont(const char *fontstr) { in initfont() argument 269 style.font = XftFontOpenXlfd(dpy, screen, fontstr); in initfont() 271 style.font = XftFontOpenName(dpy, screen, fontstr); in initfont() 273 eprint("error, cannot load font: '%s'\n", fontstr); in initfont() 276 (const unsigned char *) fontstr, strlen(fontstr), dc.font.extents); in initfont()
|
/dports/cad/lepton-eda/lepton-eda-1.9.17/libleptongui/src/ |
H A D | x_print.c | 200 gchar *fontstr = eda_config_get_string (cfg, "schematic.gui", "font", NULL); in x_print_draw_page() local 202 if (fontstr != NULL) { in x_print_draw_page() 203 g_object_set (renderer, "font-name", fontstr, NULL); in x_print_draw_page() 204 g_free (fontstr); in x_print_draw_page()
|
/dports/x11/dzen2/dzen-488ab66/ |
H A D | draw.c | 119 setfont(const char *fontstr) { in setfont() argument 128 dzen.font.set = XCreateFontSet(dzen.dpy, fontstr, &missing, &n, &def); in setfont() 151 if(!(dzen.font.xfont = XLoadQueryFont(dzen.dpy, fontstr))) in setfont() 152 eprint("dzen: error, cannot load font: '%s'\n", fontstr); in setfont() 160 dzen.font.xftfont = XftFontOpenXlfd(dzen.dpy, dzen.screen, fontstr); in setfont() 162 dzen.font.xftfont = XftFontOpenName(dzen.dpy, dzen.screen, fontstr); in setfont() 164 eprint("error, cannot load font: '%s'\n", fontstr); in setfont() 166 …XftTextExtentsUtf8(dzen.dpy, dzen.font.xftfont, (unsigned const char *) fontstr, strlen(fontstr), … in setfont() 168 dzen.font.width = (dzen.font.extents->width)/strlen(fontstr); in setfont()
|
H A D | dzen.h | 181 extern void setfont(const char *fontstr); /* sets global font */
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/vrml97/ |
H A D | Text.cpp | 1078 SbString fontstr; in setUpGlyphs() local 1080 case SoVRMLFontStyle::PLAIN: fontstr = "Times New Roman"; break; in setUpGlyphs() 1081 case SoVRMLFontStyle::SANS: fontstr = "Arial"; break; in setUpGlyphs() 1082 case SoVRMLFontStyle::TYPEWRITER: fontstr = "Courier New"; break; in setUpGlyphs() 1083 default: /* FIXME: warn on faulty input data. 20030921 mortene. */ fontstr = "defaultFont"; break; in setUpGlyphs() 1087 case SoVRMLFontStyle::BOLD: fontstr += ":Bold"; break; in setUpGlyphs() 1088 case SoVRMLFontStyle::ITALIC: fontstr += ":Italic"; break; in setUpGlyphs() 1089 case SoVRMLFontStyle::BOLDITALIC: fontstr += ":Bold Italic"; break; in setUpGlyphs()
|
/dports/print/mp-letter/mp/ |
H A D | print.cc | 322 static char *fontstr[MAXTTYPES] = { in show_text() local 330 if (fontstr[(int) op]) FPUTS(fontstr[(int) op]) ; in show_text()
|
/dports/print/mp-a4/mp/ |
H A D | print.cc | 322 static char *fontstr[MAXTTYPES] = { in show_text() local 330 if (fontstr[(int) op]) FPUTS(fontstr[(int) op]) ; in show_text()
|
/dports/math/gretl/gretl-2021d/gui/ |
H A D | graphics.c | 295 char fontstr[84]; in saver_make_term_string() local 309 sprintf(fontstr, "font \"%s,%d\"", s->font, s->fontsize); in saver_make_term_string() 312 sprintf(fontstr, "font \"%s,%d\"", s->font, s->fontsize); in saver_make_term_string() 321 sprintf(termstr, "set term %s %s%s size %gin,%gin", ttype, fontstr, in saver_make_term_string()
|
/dports/multimedia/lives/lives-3.2.0/lives-plugins/weed-plugins/gdk/ |
H A D | scribbler.c | 286 char *text, *xtext, *fontstr; in scribbler_process() local 310 fontstr = weed_param_get_value_string(in_params[P_FONT]); in scribbler_process() 311 pfd = pango_font_description_from_string(fontstr); in scribbler_process() 322 weed_parse_font_string(fontstr, &family, NULL, NULL, NULL, NULL); in scribbler_process() 335 weed_free(fontstr); in scribbler_process()
|
/dports/x11/nezd/nezd-0.1.0/ |
H A D | draw.c | 109 void setfont(const char *fontstr) { in setfont() argument 113 nezd.font.xftfont = XftFontOpenXlfd(nezd.dpy, nezd.screen, fontstr); in setfont() 115 nezd.font.xftfont = XftFontOpenName(nezd.dpy, nezd.screen, fontstr); in setfont() 118 eprint("error, cannot load font: '%s'\n", fontstr); in setfont() 122 (unsigned const char *)fontstr, strlen(fontstr), in setfont() 125 nezd.font.width = (nezd.font.extents->width) / strlen(fontstr); in setfont()
|
H A D | nezd.h | 179 extern void setfont(const char *fontstr); /* sets global font */
|
/dports/mail/squirrelmail/squirrelmail.stable/squirrelmail/functions/ |
H A D | mailbox_display.php | 153 $fontstr = "<font color=\"$color[9]\">"; 156 $fontstr = ''; 238 …$italic . $bold . $flag . $fontstr . sm_truncate_string($senderName, $truncate_sender, '...', TRUE… 257 $bold . $flag . $fontstr . $date_string . 328 $bold . $fontstr . show_readable_size($msg['SIZE']) .
|
/dports/x11-fm/xfe/xfe-1.44/st/ |
H A D | x.c | 984 xloadfonts(char *fontstr, double fontsize) in xloadfonts() argument 991 if (fontstr[0] == '-') in xloadfonts() 992 pattern = XftXlfdParse(fontstr, False, False); in xloadfonts() 994 pattern = FcNameParse((FcChar8 *)fontstr); in xloadfonts() 997 die("can't open font %s\n", fontstr); in xloadfonts() 1029 die("can't open font %s\n", fontstr); in xloadfonts() 1046 die("can't open font %s\n", fontstr); in xloadfonts() 1051 die("can't open font %s\n", fontstr); in xloadfonts() 1056 die("can't open font %s\n", fontstr); in xloadfonts()
|