Home
last modified time | relevance | path

Searched refs:fontobj (Results 1 – 25 of 32) sorted by relevance

12

/dports/devel/py-game/pygame-2.1.0/src_c/freetype/
H A Dft_wrap.c280 pgFontObject *fontobj, in _PGFT_GetFontSized() argument
387 fontobj->_internals = 0; in init()
397 if (!fontobj->_internals) { in init()
405 fontobj->_internals = 0; in init()
413 quit(pgFontObject *fontobj) in quit() argument
415 if (fontobj->_internals) { in quit()
418 fontobj->_internals = 0; in quit()
424 pgFontObject *fontobj, in _PGFT_TryLoadFont_Filename() argument
445 return init(ft, fontobj); in _PGFT_TryLoadFont_Filename()
492 return init(ft, fontobj); in _PGFT_TryLoadFont_RWops()
[all …]
H A Dft_render.c131 if (fontobj->face_size.x == 0) { in _PGFT_BuildRenderMode()
138 face_size = fontobj->face_size; in _PGFT_BuildRenderMode()
143 mode->style = fontobj->style; in _PGFT_BuildRenderMode()
158 mode->strength = DBL_TO_FX16(fontobj->strength); in _PGFT_BuildRenderMode()
160 mode->render_flags = fontobj->render_flags; in _PGFT_BuildRenderMode()
162 mode->transform = fontobj->transform; in _PGFT_BuildRenderMode()
165 if (!fontobj->is_scalable) { in _PGFT_BuildRenderMode()
313 font_text = _PGFT_LoadLayout(ft, fontobj, mode, text); in _PGFT_Render_ExistingSurface()
435 font_text = _PGFT_LoadLayout(ft, fontobj, mode, text); in _PGFT_Render_NewSurface()
591 font_text = _PGFT_LoadLayout(ft, fontobj, mode, text); in _PGFT_Render_PixelArray()
[all …]
H A Dft_layout.c112 Layout *ftext = &fontobj->_internals->active_text; in _PGFT_LayoutInit()
113 FontCache *cache = &fontobj->_internals->glyph_cache; in _PGFT_LayoutInit()
127 _PGFT_LayoutFree(pgFontObject *fontobj) in _PGFT_LayoutFree() argument
129 Layout *ftext = &(fontobj->_internals->active_text); in _PGFT_LayoutFree()
130 FontCache *cache = &fontobj->_internals->glyph_cache; in _PGFT_LayoutFree()
143 Layout *ftext = &fontobj->_internals->active_text; in _PGFT_LoadLayout()
144 FontCache *cache = &fontobj->_internals->glyph_cache; in _PGFT_LoadLayout()
163 fill_context(&context, ft, fontobj, mode, font); in _PGFT_LoadLayout()
491 fill_context(&context, ft, fontobj, mode, font); in _PGFT_GetMetrics()
667 const pgFontObject *fontobj, in fill_context() argument
[all …]
/dports/math/giacxcas/fltk-1.3.0/test/
H A Dfonts.cxx57 Fl_Hold_Browser *fontobj, *sizeobj; variable
64 int fn = fontobj->value(); in font_cb()
142 fontobj = new Fl_Hold_Browser(10, 190, 390, 170); in create_the_forms()
143 fontobj->box(FL_FRAME_BOX); in create_the_forms()
144 fontobj->color(53,3); in create_the_forms()
145 fontobj->callback(font_cb); in create_the_forms()
150 fontgroup->resizable(fontobj); in create_the_forms()
192 fontobj->add(name); in main()
200 fontobj->value(1); in main()
201 font_cb(fontobj,0); in main()
H A Dutf8.cxx57 static Fl_Hold_Browser *fontobj; variable
283 fontobj->clear(); in own_face_cb()
319 fontobj->add(buffer); in own_face_cb()
322 fontobj->topline(i_was); in own_face_cb()
366 fontobj->box(FL_FRAME_BOX); in create_font_widget()
367 fontobj->color(53, 3); in create_font_widget()
368 fontobj->callback(font_cb); in create_font_widget()
369 fnt_chooser_win->resizable(fontobj); in create_font_widget()
410 fontgroup->resizable(fontobj); in create_font_widget()
466 fontobj->value(1); in make_font_chooser()
[all …]
/dports/x11-toolkits/fltk/fltk-1.3.8/test/
H A Dfonts.cxx48 Fl_Hold_Browser *fontobj, *sizeobj; variable
55 int fn = fontobj->value(); in font_cb()
133 fontobj = new Fl_Hold_Browser(10, 190, 390, 170); in create_the_forms()
134 fontobj->box(FL_FRAME_BOX); in create_the_forms()
135 fontobj->color(53,3); in create_the_forms()
136 fontobj->callback(font_cb); in create_the_forms()
141 fontgroup->resizable(fontobj); in create_the_forms()
183 fontobj->add(name); in main()
191 fontobj->value(1); in main()
192 font_cb(fontobj,0); in main()
H A Dutf8.cxx48 static Fl_Hold_Browser *fontobj; variable
274 fontobj->clear(); in own_face_cb()
310 fontobj->add(buffer); in own_face_cb()
313 fontobj->topline(i_was); in own_face_cb()
357 fontobj->box(FL_FRAME_BOX); in create_font_widget()
358 fontobj->color(53, 3); in create_font_widget()
359 fontobj->callback(font_cb); in create_font_widget()
360 fnt_chooser_win->resizable(fontobj); in create_font_widget()
401 fontgroup->resizable(fontobj); in create_font_widget()
457 fontobj->value(1); in make_font_chooser()
[all …]
/dports/x11-toolkits/ntk/ntk/test/
H A Dfonts.cxx57 Fl_Hold_Browser *fontobj, *sizeobj; variable
64 int fn = fontobj->value(); in font_cb()
142 fontobj = new Fl_Hold_Browser(10, 190, 390, 170); in create_the_forms()
143 fontobj->box(FL_FRAME_BOX); in create_the_forms()
144 fontobj->color(53,3); in create_the_forms()
145 fontobj->callback(font_cb); in create_the_forms()
150 fontgroup->resizable(fontobj); in create_the_forms()
192 fontobj->add(name); in main()
200 fontobj->value(1); in main()
201 font_cb(fontobj,0); in main()
H A Dutf8.cxx57 static Fl_Hold_Browser *fontobj; variable
283 fontobj->clear(); in own_face_cb()
319 fontobj->add(buffer); in own_face_cb()
322 fontobj->topline(i_was); in own_face_cb()
366 fontobj->box(FL_FRAME_BOX); in create_font_widget()
367 fontobj->color(53, 3); in create_font_widget()
368 fontobj->callback(font_cb); in create_font_widget()
369 fnt_chooser_win->resizable(fontobj); in create_font_widget()
410 fontgroup->resizable(fontobj); in create_font_widget()
466 fontobj->value(1); in make_font_chooser()
[all …]
/dports/x11-toolkits/py-fltk/pyFltk-1.3.4.1/fltk/test/
H A Dutf8.py40 fontobj = None variable
228 i_was = fontobj.topline()
229 fontobj.clear()
254 fontobj.add(buf)
256 fontobj.topline(i_was)
261 global fontobj
304 fontobj.box(FL_ENGRAVED_BOX)
305 fontobj.color(53, 3)
306 fontobj.callback(font_cb, 0)
386 fontobj.value(1)
[all …]
/dports/x11-toolkits/xforms/xforms-1.2.4/demos/
H A Dfonts.c38 FL_OBJECT * fontobj; member
90 fl_add_browser_line( ui->fontobj, str ); in addit()
110 fl_select_browser_line( ui->fontobj, 1 ); in main()
122 fl_call_object_callback( ui->fontobj ); in main()
146 fdui->fontobj = obj = fl_add_browser( FL_HOLD_BROWSER, 10, 145, 195, 135, in create_form_fontsform()
/dports/lang/fpc-source/fpc-3.2.2/packages/xforms/examples/
H A Dfonts.pp9 fontobj,
46 fl_add_browser_line(ui^.fontobj,st);
62 fdui^.fontobj := obj;
91 fl_select_browser_line(ui^.fontobj,1);
103 fl_call_object_callback(ui^.fontobj);
/dports/x11-toolkits/fpc-xforms/fpc-3.2.2/packages/xforms/examples/
H A Dfonts.pp9 fontobj,
46 fl_add_browser_line(ui^.fontobj,st);
62 fdui^.fontobj := obj;
91 fl_select_browser_line(ui^.fontobj,1);
103 fl_call_object_callback(ui^.fontobj);
/dports/www/fswiki/wiki3_6_2/lib/
H A DPDFJ.pm1199 my($self, $fontobj) = @_;
1200 my $baseorttf = $fontobj->{ttffile} || $fontobj->{basefont};
1202 my $name = $fontobj->{name} || $fontobj->{zname};
1203 my $font = $fontobj->{font} || $fontobj->{zfont};
1206 if( $fontobj->{combo} ) {
1207 $self->{fontobjlist}{$name, $fontobj->{hname}} = $fontobj;
2279 my $combo = $fontobj->{combo};
2280 my $hfont = $fontobj->{hfontobj};
2305 my $combo = $fontobj->{combo};
2306 my $hfont = $fontobj->{hfontobj};
[all …]
/dports/japanese/p5-PDFJ/ja-p5-PDFJ-0.90_3/
H A DPDFJ.pm1889 my($self, $fontobj) = @_;
1891 $fontobj->{ttffile} || $fontobj->{otffile} || $fontobj->{basefont};
1893 my $name = $fontobj->{name} || $fontobj->{zname};
1894 my $font = $fontobj->{font} || $fontobj->{zfont};
1897 if( $fontobj->{combo} ) {
1898 $self->{fontobjlist}{$name, $fontobj->{hname}, $fontobj->{hsize}} =
1899 $fontobj;
3352 unless( $fontobj ) {
3375 unless( $fontobj ) {
3393 my $combo = $fontobj->{combo};
[all …]
/dports/textproc/p5-PDF-Builder/PDF-Builder-3.023/lib/PDF/Builder/Resource/CIDFont/
H A DTrueType.pm90 sub fontobj { subroutine
97 my $t = $self->fontobj()->{'hmtx'}->read()->{'advance'}[$g];
/dports/textproc/p5-PDF-API2/PDF-API2-2.042/lib/PDF/API2/Resource/CIDFont/
H A DTrueType.pm77 sub fontobj { return $_[0]->data->{'obj'}; } subroutine
81 my $t = $self->fontobj->{'hmtx'}->read->{'advance'}[$g];
/dports/textproc/p5-PDF-API3/PDF-API3-3.001/lib/PDF/API3/Compat/API2/Resource/CIDFont/
H A DTrueType.pm119 sub fontobj { return( $_[0]->data->{obj} ); } subroutine
143 my $t = $self->fontobj->{'hmtx'}->read->{'advance'}[$g];
/dports/devel/py-game/pygame-2.1.0/src_c/
H A Dfont.c933 PyFontObject *fontobj; in PyFont_New() local
937 fontobj = (PyFontObject *)PyFont_Type.tp_new(&PyFont_Type, NULL, NULL); in PyFont_New()
939 if (fontobj) in PyFont_New()
940 fontobj->font = font; in PyFont_New()
942 return (PyObject *)fontobj; in PyFont_New()
/dports/x11-toolkits/xforms/xforms-1.2.4/fdesign/fd/
H A Dui_attrib.h47 FL_OBJECT * fontobj; member
H A Dui_attrib.c117 fdui->fontobj = obj = fl_add_choice( FL_NORMAL_CHOICE, 278, 24, 131, 25, "Font" ); in create_form_generic_attrib()
/dports/textproc/dblatex/dblatex-0.3.11py3/tools/
H A Dpdfscan.py1497 def get_pdffont(self, fontobj, fontsize): argument
1498 key = fontobj.descriptor.get("/BaseFont")+"/"+"%6.2f" % fontsize
1502 pdffont = self.global_fontmgr.get_pdffont(fontobj, fontsize)
1505 pdffont = self._make_pdffont(fontobj, fontsize)
1509 def _make_pdffont(self, fontobj, fontsize): argument
1510 fontobj.link_to(self.resolver)
1511 pdfobject = fontobj.descriptor.get("/ToUnicode")
1517 pdffont = PDFFont(fontobj, fontsize, tuc)
1530 fontobj = self.fontdict.get(fontref)
1531 if not(fontobj):
[all …]
/dports/graphics/swftools/swftools-0.9.2/lib/python/
H A Dgfx.c967 PyObject*fontobj = gfxfontlist_getuserdata(global_fonts, font->id); in lookup_font() local
968 if(!fontobj) { in lookup_font()
969 fontobj = font_new(font); in lookup_font()
970 global_fonts = gfxfontlist_addfont2(global_fonts, font, fontobj); in lookup_font()
972 Py_INCREF(fontobj); in lookup_font()
973 return fontobj; in lookup_font()
1073 FontObject*fontobj = (FontObject*)lookup_font(font); in char_new() local
1075 chr->font = fontobj; in char_new()
1076 Py_INCREF(fontobj); in char_new()
/dports/x11-toolkits/xforms/xforms-1.2.4/fdesign/
H A Dfd_attribs.c399 fnts = ui->fontobj; in attrib_init()
475 fl_set_choice( fd_generic_attrib->fontobj, lstyle + 1 ); in show_attributes()
556 v1 = fl_get_choice( fd_generic_attrib->fontobj ) - 1; in readback_attributes()
/dports/devel/upp/upp/uppsrc/PdfDraw/
H A DPdfDraw.cpp814 Vector<int> fontobj; in Finish() local
886 fontobj.Add() = BeginObj(); in Finish()
939 fontobj.Add() = BeginObj(); in Finish()
961 out << "/F" << i + 1 << ' ' << fontobj[i] << " 0 R \n"; in Finish()

12