Home
last modified time | relevance | path

Searched refs:fontlist (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Modules/
Dfmmodule.c194 static PyObject *fontlist; variable
201 if (fontlist == NULL) in clientproc()
207 err = PyList_Append(fontlist, v); in clientproc()
211 Py_DECREF(fontlist); in clientproc()
212 fontlist = NULL; in clientproc()
220 fontlist = PyList_New(0); in fm_enumerate()
221 if (fontlist == NULL) in fm_enumerate()
224 res = fontlist; in fm_enumerate()
225 fontlist = NULL; in fm_enumerate()
/external/freetype/src/tools/ftrandom/
Dftrandom.c91 static struct fontlist struct
99 } *fontlist; variable
268 figurefiletype( struct fontlist* item ) in figurefiletype()
386 fontlist = realloc( fontlist, max * sizeof ( struct fontlist ) ); in FindFonts()
387 if ( !fontlist ) in FindFonts()
394 fontlist[fcnt].name = strdup( buffer ); in FindFonts()
395 fontlist[fcnt].len = statb.st_size; in FindFonts()
397 figurefiletype( &fontlist[fcnt] ); in FindFonts()
411 fontlist[fcnt].name = NULL; in FindFonts()
416 getErrorCnt( struct fontlist* item ) in getErrorCnt()
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_configdialog.py145 if d.fontlist.size() < 2:
147 fontlist = d.fontlist
148 fontlist.activate(0)
149 font = d.fontlist.get('active')
152 fontlist.focus_force()
153 fontlist.update()
154 fontlist.event_generate('<Key-Down>')
155 fontlist.event_generate('<KeyRelease-Down>')
157 down_font = fontlist.get('active')
162 fontlist.focus_force()
[all …]
/external/python/cpython3/Lib/idlelib/
Dconfigdialog.py81 self.fontpage.fontlist.focus_set()
551 self.fontlist = Listbox(frame_font_name, height=15,
553 self.fontlist.bind('<ButtonRelease-1>', self.on_fontlist_select)
554 self.fontlist.bind('<KeyRelease-Up>', self.on_fontlist_select)
555 self.fontlist.bind('<KeyRelease-Down>', self.on_fontlist_select)
557 scroll_font.config(command=self.fontlist.yview)
558 self.fontlist.config(yscrollcommand=scroll_font.set)
588 self.fontlist.pack(side=LEFT, expand=TRUE, fill=X)
614 self.fontlist.insert(END, font)
619 self.fontlist.see(current_font_index)
[all …]
/external/ImageMagick/MagickCore/
Dwidget.c5484 **fontlist, in XFontBrowserWidget() local
5557 fontlist=XListFonts(display,glob_pattern,32767,&fonts); in XFontBrowserWidget()
5566 fontlist=XListFonts(display,glob_pattern,32767,&fonts); in XFontBrowserWidget()
5567 if (fontlist == (char **) NULL) in XFontBrowserWidget()
5577 listhead=fontlist; in XFontBrowserWidget()
5578 fontlist=(char **) AcquireQuantumMemory((size_t) fonts,sizeof(*fontlist)); in XFontBrowserWidget()
5579 if (fontlist == (char **) NULL) in XFontBrowserWidget()
5586 fontlist[i]=listhead[i]; in XFontBrowserWidget()
5587 qsort((void *) fontlist,(size_t) fonts,sizeof(*fontlist),FontCompare); in XFontBrowserWidget()
5594 if (WidgetTextWidth(font_info,fontlist[i]) > text_width) in XFontBrowserWidget()
[all …]
Dxwindow.c748 **fontlist; in FontToList() local
769 fontlist=(char **) AcquireQuantumMemory((size_t) fonts+1UL,sizeof(*fontlist)); in FontToList()
770 if (fontlist == (char **) NULL) in FontToList()
781 fontlist[i]=(char *) AcquireQuantumMemory((size_t) (q-p)+1UL, in FontToList()
782 sizeof(*fontlist[i])); in FontToList()
783 if (fontlist[i] == (char *) NULL) in FontToList()
788 (void) CopyMagickString(fontlist[i],p,(size_t) (q-p+1)); in FontToList()
791 fontlist[i]=(char *) NULL; in FontToList()
792 return(fontlist); in FontToList()
836 **fontlist; in XBestFont() local
[all …]
/external/freetype/
DChangeLog.271614 (fontlist): Change `len' member to `long' to fix compiler warnings.