Home
last modified time | relevance | path

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

/dports/misc/bb/bb-1.3.0/
H A Duncompfn.c32 ufont->width = 8; in uncompressfont()
33 ufont->height = font->height; in uncompressfont()
37 ufont->data[y] = c & (1 << 7); in uncompressfont()
38 ufont->data[y + 1] = c & (1 << 6); in uncompressfont()
39 ufont->data[y + 2] = c & (1 << 5); in uncompressfont()
40 ufont->data[y + 3] = c & (1 << 4); in uncompressfont()
41 ufont->data[y + 4] = c & (1 << 3); in uncompressfont()
42 ufont->data[y + 5] = c & (1 << 2); in uncompressfont()
43 ufont->data[y + 6] = c & (1 << 1); in uncompressfont()
44 ufont->data[y + 7] = c & (1 << 0); in uncompressfont()
[all …]
/dports/lang/perl5.34/perl-5.34.0/cpan/Pod-Perldoc/lib/Pod/Perldoc/
H A DToTk.pm81 my $ufont = $mw->optionGet('userFont','UserFont'); # fixed width
83 if (defined($ufont) and defined($sfont)) {
84 foreach ($ufont, $sfont) { s/:$//; };
86 $mw->optionAdd('*Entry.Font', $ufont);
87 $mw->optionAdd('*Text.Font', $ufont);
/dports/lang/perl5.30/perl-5.30.3/cpan/Pod-Perldoc/lib/Pod/Perldoc/
H A DToTk.pm81 my $ufont = $mw->optionGet('userFont','UserFont'); # fixed width
83 if (defined($ufont) and defined($sfont)) {
84 foreach ($ufont, $sfont) { s/:$//; };
86 $mw->optionAdd('*Entry.Font', $ufont);
87 $mw->optionAdd('*Text.Font', $ufont);
/dports/lang/perl5.32/perl-5.32.1/cpan/Pod-Perldoc/lib/Pod/Perldoc/
H A DToTk.pm81 my $ufont = $mw->optionGet('userFont','UserFont'); # fixed width
83 if (defined($ufont) and defined($sfont)) {
84 foreach ($ufont, $sfont) { s/:$//; };
86 $mw->optionAdd('*Entry.Font', $ufont);
87 $mw->optionAdd('*Text.Font', $ufont);
/dports/textproc/p5-Pod-Perldoc/Pod-Perldoc-3.25/lib/Pod/Perldoc/
H A DToTk.pm81 my $ufont = $mw->optionGet('userFont','UserFont'); # fixed width
83 if (defined($ufont) and defined($sfont)) {
84 foreach ($ufont, $sfont) { s/:$//; };
86 $mw->optionAdd('*Entry.Font', $ufont);
87 $mw->optionAdd('*Text.Font', $ufont);
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Pod-Perldoc/lib/Pod/Perldoc/
H A DToTk.pm81 my $ufont = $mw->optionGet('userFont','UserFont'); # fixed width
83 if (defined($ufont) and defined($sfont)) {
84 foreach ($ufont, $sfont) { s/:$//; };
86 $mw->optionAdd('*Entry.Font', $ufont);
87 $mw->optionAdd('*Text.Font', $ufont);
/dports/devel/itext/itext-4.2.0/core/com/lowagie/text/pdf/
H A DPushbuttonField.java301 BaseFont ufont = getRealFont(); in calculateFontSize() local
304 float bw = ufont.getWidthPoint(text, 1); in calculateFontSize()
309 float nfsize = h / (1 - ufont.getFontDescriptor(BaseFont.DESCENT, 1)); in calculateFontSize()
331 BaseFont ufont = getRealFont(); in getAppearance()
359 textX = (box.getWidth() - ufont.getWidthPoint(text, fsize)) / 2; in getAppearance()
376 textX = (box.getWidth() - ufont.getWidthPoint(text, fsize)) / 2; in getAppearance()
377 textY = offX - ufont.getFontDescriptor(BaseFont.DESCENT, fsize); in getAppearance()
390 textX = (box.getWidth() - ufont.getWidthPoint(text, fsize)) / 2; in getAppearance()
406 if (ufont.getWidthPoint(text, fsize) >= wt) { in getAppearance()
425 if (ufont.getWidthPoint(text, fsize) >= wt) { in getAppearance()
[all …]
H A DTextField.java116 phrase = new Phrase(new Chunk(text, new Font(ufont, fontSize, 0, color))); in composePhrase()
119 fs.addFont(new Font(ufont, fontSize, 0, color)); in composePhrase()
208 BaseFont ufont = getRealFont(); in getAppearance() local
212 Phrase phrase = composePhrase(ptext, ufont, fcolor, usize); in getAppearance()
215 …float factor = ufont.getFontDescriptor(BaseFont.BBOXURY, 1) - ufont.getFontDescriptor(BaseFont.BBO… in getAppearance()
252 …float maxCalculatedSize = h / (ufont.getFontDescriptor(BaseFont.BBOXURX, 1) - ufont.getFontDescrip… in getAppearance()
267 float ny = -ufont.getFontDescriptor(BaseFont.DESCENT, usize) + offX; in getAppearance()
335 BaseFont ufont = getRealFont(); in getListAppearance() local
348 …float leading = ufont.getFontDescriptor(BaseFont.BBOXURY, usize) - ufont.getFontDescriptor(BaseFon… in getListAppearance()
376 float yp = offsetX + h - ufont.getFontDescriptor(BaseFont.BBOXURY, usize); in getListAppearance()
[all …]
H A DRadioCheckField.java223 BaseFont ufont = getRealFont(); in getAppearance()
238 float bw = ufont.getWidthPoint(text, 1); in getAppearance()
243 float nfsize = h / (ufont.getFontDescriptor(BaseFont.ASCENT, 1)); in getAppearance()
255 app.setFontAndSize(ufont, fsize); in getAppearance()
256 app.setTextMatrix((box.getWidth() - ufont.getWidthPoint(text, fsize)) / 2, in getAppearance()
257 (box.getHeight() - ufont.getAscentPoint(text, fsize)) / 2); in getAppearance()
/dports/www/netsurf/netsurf-3.10/frontends/amiga/
H A Dfont_bullet.c197 struct OutlineFont *ofont, *ufont = NULL; in amiga_nsfont_position_in_string() local
218 if (ufont == NULL) in amiga_nsfont_position_in_string()
221 if (ufont) in amiga_nsfont_position_in_string()
222 tempx = ami_font_width_glyph(ufont, utf16, in amiga_nsfont_position_in_string()
281 struct OutlineFont *ofont, *ufont = NULL; in amiga_nsfont_split() local
310 if (ufont == NULL) in amiga_nsfont_split()
313 if (ufont) in amiga_nsfont_split()
782 if(ufont == NULL) in amiga_nsfont_text()
787 if(ufont) { in amiga_nsfont_text()
844 if(ufont == NULL) in ami_font_unicode_width()
[all …]
/dports/print/pdftk/pdftk-7d2ac3c1fa858f2c247c809fc6ef43f71f241098/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/
H A DTextField.java125 phrase = new Phrase(new Chunk(text, new Font(ufont, fontSize, 0, color))); in composePhrase()
128 fs.addFont(new Font(ufont, fontSize, 0, color)); in composePhrase()
217 BaseFont ufont = getRealFont(); in getAppearance() local
221 Phrase phrase = composePhrase(ptext, ufont, fcolor, usize); in getAppearance()
224 …float factor = ufont.getFontDescriptor(BaseFont.BBOXURY, 1) - ufont.getFontDescriptor(BaseFont.BBO… in getAppearance()
264 …float maxCalculatedSize = h / (ufont.getFontDescriptor(BaseFont.BBOXURX, 1) - ufont.getFontDescrip… in getAppearance()
279 float ny = -ufont.getFontDescriptor(BaseFont.DESCENT, usize) + offX; in getAppearance()
347 BaseFont ufont = getRealFont(); in getListAppearance() local
360 …float leading = ufont.getFontDescriptor(BaseFont.BBOXURY, usize) - ufont.getFontDescriptor(BaseFon… in getListAppearance()
390 float yp = offsetX + h - ufont.getFontDescriptor(BaseFont.BBOXURY, usize); in getListAppearance()
[all …]
/dports/textproc/p5-Tk-Pod/Tk-Pod-0.9943/
H A Dtkpod176 my $ufont = $mw->optionGet('userFont','UserFont'); # fixed width
178 if (defined($ufont) and defined($sfont)) {
179 foreach ($ufont, $sfont) { s/:$//; };
181 $mw->optionAdd('*Entry.Font', $ufont);
182 $mw->optionAdd('*Text.Font', $ufont);
/dports/security/ridl/ridl-11b3240/source/msw/
H A Dcanvas.c30 struct nk_user_font *ufont; in ui_create_canvas() local
54 ufont = &font->handle; in ui_create_canvas()
56 nk_init_default(&canvas->ctx, ufont); in ui_create_canvas()
/dports/security/ridl/ridl-11b3240/source/x11/
H A Dcanvas.c36 struct nk_user_font *ufont; in ui_create_canvas() local
53 ufont = &font->handle; in ui_create_canvas()
55 nk_init_default(&canvas->ctx, ufont); in ui_create_canvas()
/dports/graphics/grafx2/grafx2/src/
H A Dinit.c786 T_Unicode_Font * ufont; in Load_Unicode_font() local
798 ufont = GFX2_malloc(sizeof(T_Unicode_Font)); in Load_Unicode_font()
799 if (ufont != NULL) in Load_Unicode_font()
801 ufont->FirstChar = first; in Load_Unicode_font()
802 ufont->LastChar = last; in Load_Unicode_font()
803 ufont->FontData = font; in Load_Unicode_font()
804 ufont->Next = Unicode_fonts; in Load_Unicode_font()
805 Unicode_fonts = ufont; in Load_Unicode_font()
H A Dwindows.c872 T_Unicode_Font * ufont; in Get_font_character_pixel() local
874 for (ufont = Unicode_fonts; ufont != NULL; ufont = ufont->Next) in Get_font_character_pixel()
875 if (ufont->FirstChar <= c && c <= ufont->LastChar) in Get_font_character_pixel()
877 font_pixel = ufont->FontData + ((c - ufont->FirstChar) << 6); in Get_font_character_pixel()
H A Dmain.c1294 T_Unicode_Font * ufont = Unicode_fonts->Next; in Program_shutdown() local
1297 Unicode_fonts = ufont; in Program_shutdown()
/dports/games/freeciv/freeciv-2.6.6/client/gui-qt/
H A Ddialogs.h210 QFont ufont; variable
H A Dhudwidget.h201 QFont *ufont; variable
H A Ddialogs.cpp2893 ufont.setItalic(true); in units_select()
3012 ufont.setPixelSize(a); in create_pixmap()
3013 p.setFont(ufont); in create_pixmap()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-qt/
H A Ddialogs.h210 QFont ufont; variable
H A Dhudwidget.h201 QFont *ufont; variable
H A Ddialogs.cpp2893 ufont.setItalic(true); in units_select()
3012 ufont.setPixelSize(a); in create_pixmap()
3013 p.setFont(ufont); in create_pixmap()
/dports/devel/py-game/pygame-2.1.0/test/
H A Dfreetype_test.py520 ufont = self._TEST_FONTS["mono"]
521 rect_utf32 = ufont.get_rect(as_unicode(r"\U00013079"), size=24)
522 rect_utf16 = ufont.get_rect(as_unicode(r"\uD80C\uDC79"), size=24)
524 ufont.ucs4 = True
526 rect_utf16 = ufont.get_rect(as_unicode(r"\uD80C\uDC79"), size=24)
528 ufont.ucs4 = False
/dports/print/fontforge/fontforge-20201107/fontforgeexe/
H A Dfontinfo.c2661 const unichar_t *ufont = _GGadgetGetTitle(GWidgetGetControl(gw,CID_Fontname)); in SetFontName() local
2664 int diff = uc_strcmp(ufont,sf->fontname)!=0; in SetFontName()
2671 sf->fontname = cu_copy(ufont); in SetFontName()
2679 const unichar_t *ufont = _GGadgetGetTitle(GWidgetGetControl(d->gw,CID_Fontname)); in CheckNames() local
2684 if ( u_strlen(ufont)>63 ) { in CheckNames()
2706 if ( u_strlen(ufont)>31 ) { in CheckNames()
2709 } else if ( u_strlen(ufont)>29 ) { in CheckNames()
2722 u_strtod(ufont,&end); in CheckNames()
2723 if ( (*end=='\0' || (isdigit(ufont[0]) && u_strchr(ufont,'#')!=NULL)) && in CheckNames()
2724 *ufont!='\0' ) { in CheckNames()
[all …]