Home
last modified time | relevance | path

Searched refs:selected_font (Results 1 – 25 of 46) sorted by relevance

12

/dports/sysutils/conky-awesome/conky-1.12.2/src/
H A Dfonts.cc33 unsigned int selected_font = 0; variable
86 if (fonts.size() > selected_font && fonts[selected_font].font != nullptr && in set_font()
138 selected_font = 0; in free_fonts()
202 assert(selected_font < fonts.size()); in font_height()
204 return fonts[selected_font].xftfont->ascent + in font_height()
214 assert(selected_font < fonts.size()); in font_ascent()
216 return fonts[selected_font].xftfont->ascent; in font_ascent()
224 assert(selected_font < fonts.size()); in font_descent()
236 assert(selected_font < fonts.size()); in font_height()
243 assert(selected_font < fonts.size()); in font_ascent()
[all …]
H A Dconky.cc499 return XTextWidth(fonts[selected_font].font, s, slen); in calc_text_width()
903 int orig_font = selected_font; in get_string_width_special()
904 selected_font = current->font_added; in get_string_width_special()
906 selected_font = orig_font; in get_string_width_special()
1078 selected_font = current->font_added; in text_size_updater()
1239 c2.color.alpha = fonts[selected_font].font_alpha; in draw_string()
1591 selected_font = current->font_added; in draw_each_line_inner()
1819 selected_font = 0; in draw_stuff()
1829 selected_font = 0; in draw_stuff()
2007 selected_font = 0;
[all …]
H A Dfonts.h63 extern unsigned int selected_font;
/dports/sysutils/conky/conky-1.12.2/src/
H A Dfonts.cc33 unsigned int selected_font = 0; variable
86 if (fonts.size() > selected_font && fonts[selected_font].font != nullptr && in set_font()
138 selected_font = 0; in free_fonts()
202 assert(selected_font < fonts.size()); in font_height()
204 return fonts[selected_font].xftfont->ascent + in font_height()
214 assert(selected_font < fonts.size()); in font_ascent()
216 return fonts[selected_font].xftfont->ascent; in font_ascent()
224 assert(selected_font < fonts.size()); in font_descent()
236 assert(selected_font < fonts.size()); in font_height()
243 assert(selected_font < fonts.size()); in font_ascent()
[all …]
H A Dconky.cc499 return XTextWidth(fonts[selected_font].font, s, slen); in calc_text_width()
903 int orig_font = selected_font; in get_string_width_special()
904 selected_font = current->font_added; in get_string_width_special()
906 selected_font = orig_font; in get_string_width_special()
1078 selected_font = current->font_added; in text_size_updater()
1239 c2.color.alpha = fonts[selected_font].font_alpha; in draw_string()
1591 selected_font = current->font_added; in draw_each_line_inner()
1819 selected_font = 0; in draw_stuff()
1829 selected_font = 0; in draw_stuff()
2007 selected_font = 0;
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/sdl/
H A Dsdl2_inprint.cpp95 static SDL_Texture* selected_font = NULL; variable
110 selected_font = inline_font; return; in prepare_inline_font()
141 selected_font = inline_font; in prepare_inline_font()
167 selected_font = font; in infont()
174 SDL_SetTextureColorMod(selected_font, color->r, color->g, color->b); in incolor1()
184 SDL_SetTextureColorMod(selected_font, pal[0].r, pal[0].g, pal[0].b); in incolor()
227 SDL_RenderCopy(dst, selected_font, &s_rect, &d_rect); in inprint()
236 SDL_GetTextureColorMod(selected_font, &pal[0].r, &pal[0].g, &pal[0].b); in inprint_shadowed()
239 SDL_SetTextureColorMod(selected_font, pal[0].r, pal[0].g, pal[0].b); in inprint_shadowed()
245 return selected_font; in get_inline_font()
/dports/emulators/anese/ANESE-0.9.1/thirdparty/SDL_inprint/original/
H A Dinprint2.c10 static SDL_Texture *selected_font = NULL; variable
23 if (inline_font != NULL) { selected_font = inline_font; return; } in prepare_inline_font()
53 selected_font = inline_font; in prepare_inline_font()
70 selected_font = font; in infont()
76 SDL_SetTextureColorMod(selected_font, color->r, color->g, color->b); in incolor1()
84 SDL_SetTextureColorMod(selected_font, pal[0].r, pal[0].g, pal[0].b); in incolor()
118 SDL_RenderCopy(dst, selected_font, &s_rect, &d_rect); in inprint()
122 SDL_Texture *get_inline_font(void) { return selected_font; } in get_inline_font()
/dports/print/py-frescobaldi/frescobaldi-3.1.3/frescobaldi_app/fonts/
H A Dfontcommand.py110 self.font_labels['sans'] = QLabel(parent.selected_font('sans'))
116 parent.selected_font('typewriter')
357 'music', self.window().selected_font('music'),
361 'brace', self.window().selected_font('brace'),
365 'roman', self.window().selected_font('roman'),
369 'sans', self.window().selected_font('sans'),
374 self.window().selected_font('typewriter'),
435 '"{}"'.format(self.window().selected_font('roman')),
441 '"{}"'.format(self.window().selected_font('sans')),
486 properties, self.window().selected_font('music')
[all …]
H A Ddialog.py206 def selected_font(self, family): member in FontsDialog
213 s.setValue('music-font', self.selected_font('music'))
214 s.setValue('brace-font', self.selected_font('brace'))
215 s.setValue('roman-font', self.selected_font('roman'))
216 s.setValue('sans-font', self.selected_font('sans'))
217 s.setValue('typewriter-font', self.selected_font('typewriter'))
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/tests/nonreg_tests/
H A Dbug_4006.tst20 selected_font = fonts(1);
25 r = xlfont(selected_font,0);
33 r = xlfont(selected_font,20);
40 if fonts(21) <> selected_font then pause,end
H A Dbug_4006.dia.ref17 selected_font = fonts(1);
20 r = xlfont(selected_font,0);
25 r = xlfont(selected_font,20);
30 if fonts(21) <> selected_font then bugmes();quit;end
/dports/emulators/anese/ANESE-0.9.1/thirdparty/SDL_inprint/
H A DSDL_inprint2.cc21 if (inline_font != NULL) { selected_font = inline_font; return; } in SDL2_inprint()
51 selected_font = inline_font; in SDL2_inprint()
63 SDL_SetTextureColorMod(selected_font, pal[0].r, pal[0].g, pal[0].b); in set_color()
95 SDL_RenderCopy(selected_renderer, selected_font, &s_rect, &d_rect); in print()
H A DSDL_inprint2.h9 SDL_Texture* selected_font = nullptr; variable
/dports/x11-fonts/font-manager/font-manager-0.8.7/extra/
H A DIDFontFallback.py39 self.selected_font = Pango.FontDescription.from_string('Sans 36')
80 font_chooser.set_font_desc(self.selected_font)
91 self.selected_font = Pango.FontDescription.from_string(widget.get_font())
97 layout.set_font_description(self.selected_font)
109 font = self.selected_font.to_string()
/dports/editors/impress/impress-1.1b9/pstoedit_3.21/src/
H A Ddrvpic.cpp285 static char selected_font[80]; // Could / should these be class members (wogl???) in show_text() local
328 if (strncmp(tfont,selected_font,sizeof(selected_font)-1) != 0) { in show_text()
330 strncpy(selected_font,tfont,sizeof(selected_font)-1); in show_text()
/dports/graphics/tesseract/tesseract-5.0.0/unittest/
H A Dpango_font_info_test.cc268 std::string selected_font; in TEST_F() local
270 FontUtils::SelectFont(kLangText[i], strlen(kLangText[i]), &selected_font, &graphemes)); in TEST_F()
271 EXPECT_TRUE(selected_font.size()); in TEST_F()
279 std::string selected_font; in TEST_F() local
280 EXPECT_FALSE(FontUtils::SelectFont(kMixedScriptText, strlen(kMixedScriptText), &selected_font, in TEST_F()
/dports/graphics/pstoedit/pstoedit-3.70/src/
H A Ddrvpic.cpp270 static RSString selected_font; // Could / should these be class members (wogl? ? ?) in show_text() local
317 selected_font = tfont; in show_text()
319 } else if ( tfont != selected_font) { in show_text()
321 selected_font = tfont; in show_text()
/dports/x11-fonts/font-manager/font-manager-0.8.7/src/font-manager/
H A DOrthography.vala135 public Font? selected_font { get; set; default = null; }
206 if (!selected_font.is_valid())
210 string query = GET_ORTH_FOR(selected_font.filepath, selected_font.findex);
215 query = GET_BASE_ORTH_FOR(selected_font.filepath);
228 model.orthography = get_orthography_results(selected_font.source_object);
H A DFontList.vala298 public Font? selected_font { get; private set; default = null; }
314 selected_font = new Font();
387 bool selection_is_sourced () requires (selected_font != null) {
390 if (selected_font.filepath.contains(path))
426 selected_font = null;
427 selected_font = ((Font) object);
429 selected_family = selected_font.family;
517 … filename.label = selected_font.is_valid() ? Path.get_basename(selected_font.filepath) : null;
554 filelist.add(selected_font.filepath);
567 string directory = GLib.Path.get_dirname(selected_font.filepath);
[all …]
/dports/math/snns/SNNSv4.3/xgui/sources/
H A Dd3_fonts.c47 void d3_select_font (int selected_font) in d3_select_font() argument
49 switch (selected_font) { in d3_select_font()
H A Dd3_fonts.h23 extern void d3_select_font (int selected_font);
/dports/editors/gedit/gedit-40.1/gedit/
H A Dgedit-view.c170 gchar *selected_font; in update_font() local
173 selected_font = _gedit_settings_get_selected_font (settings); in update_font()
174 tepl_utils_override_font (GTK_WIDGET (view), selected_font); in update_font()
175 g_free (selected_font); in update_font()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/midi/
H A Dmidi_fluidsynth.cpp401 selected_font = soundfont; in Open()
449 selected_font = ""; in Close()
596 write_line((sf_path == selected_font), sf_name); in ListAll()
625 (selected_font == font_path); in ListAll()
/dports/graphics/tesseract/tesseract-5.0.0/src/training/pango/
H A Dpango_font_info.cpp483 PangoFont *selected_font = nullptr; in IsAvailableFont() local
491 selected_font = pango_font_map_load_font(font_map, context, desc); in IsAvailableFont()
495 if (selected_font == nullptr) { in IsAvailableFont()
500 PangoFontDescription *selected_desc = pango_font_describe(selected_font); in IsAvailableFont()
519 g_object_unref(selected_font); in IsAvailableFont()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/qt_ui/
H A Dpreferences_dialog.cpp175 QFont selected_font = QFontDialog::getFont(&ok, font, this, tr("Select Font")); in selectFont() local
179 font = selected_font; in selectFont()

12