Home
last modified time | relevance | path

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

12345678910>>...33

/dports/x11-fonts/nerd-fonts/nerd-fonts-2.1.0/bin/scripts/Hack/
H A Dautohint.sh18 fontfile=$1
20 echo "[Nerd Fonts] Autohinting Hack '$fontfile'"
29 cp "$fontfile" "${fontfile}.tmp"
31 if [[ "$fontfile" == *"Regular"* ]]
34 …-W -t -X "" -I -m "${nerdfonts_hack_scripts_dir}/Hack-Regular-TA.txt" "${fontfile}.tmp" "$fontfile"
35 elif [[ "$fontfile" == *"Bold"* ]]
38 … G -W -t -X "" -I -m "${nerdfonts_hack_scripts_dir}/Hack-Bold-TA.txt" "${fontfile}.tmp" "$fontfile"
39 elif [[ "$fontfile" == *"Italic"* ]]
43 elif [[ "$fontfile" == *"BoldItalic"* ]]
52 rm "${fontfile}.tmp"
[all …]
H A Dpostprocess.sh5 fontfile=$1
8 "${dir}/fix-dsig.py" "$fontfile"
9 "${dir}/fix-fstype.py" "$fontfile"
10 "${dir}/autohint.sh" "$fontfile"
13 printf "[Nerd Fonts] Post Processed Hack '%s'\\n" "$fontfile"
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/harfbuzz/test/shaping/
H A Drun-tests.py65 if fontfile.startswith ('/') or fontfile.startswith ('"/'):
66 fontfile, expected_hash = fontfile.split('@') variable
69 with open (fontfile, 'rb') as ff:
73 (fontfile, expected_hash, actual_hash))
77 print ('%s not found, skip.' % fontfile)
82 fontfile = os.path.normpath (os.path.join (cwd, fontfile)) variable
98 if ' ' in fontfile:
100 shutil.copyfile(fontfile, new_fontfile)
101 fontfile = new_fontfile variable
104 fontfile] + extra_options + ["--unicodes",
[all …]
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/harfbuzz-sys-0.3.4/harfbuzz/test/shaping/
H A Drun-tests.py65 if fontfile.startswith ('/') or fontfile.startswith ('"/'):
66 fontfile, expected_hash = fontfile.split('@') variable
69 with open (fontfile, 'rb') as ff:
73 (fontfile, expected_hash, actual_hash))
77 print ('%s not found, skip.' % fontfile)
82 fontfile = os.path.normpath (os.path.join (cwd, fontfile)) variable
98 if ' ' in fontfile:
100 shutil.copyfile(fontfile, new_fontfile)
101 fontfile = new_fontfile variable
104 fontfile] + extra_options + ["--unicodes",
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/harfbuzz-ng/src/test/shaping/
H A Drun-tests.py64 fontfile, options, unicodes, glyphs_expected = line.split (":") variable
66 if fontfile.startswith ('/') or fontfile.startswith ('"/'):
70 fontfile, expected_hash = fontfile.split('@') variable
73 with open (fontfile, 'rb') as ff:
77 (fontfile, expected_hash, actual_hash))
81 print ('%s not found, skip.' % fontfile)
86 fontfile = os.path.normpath (os.path.join (cwd, fontfile)) variable
94 print ('# %s "%s" --unicodes %s' % (hb_shape, fontfile, unicodes))
99 (hb_shape, fontfile, ' '.join(extra_options), options, unicodes))
106 …glyphs1 = cmd ([hb_shape, fontfile, "--font-funcs=ot"] + extra_options + ["--unicodes", unicodes] …
[all …]
/dports/x11-fonts/libXfont2/libXfont2-2.0.5/
H A DMakefile.in125 @XFONT_FONTFILE_TRUE@ src/fontfile/fontfile.c \
237 src/fontfile/bitsource.c src/fontfile/bufio.c \
239 src/fontfile/dirfile.c src/fontfile/fileio.c \
240 src/fontfile/filewr.c src/fontfile/fontdir.c \
241 src/fontfile/fontencc.c src/fontfile/fontfile.c \
242 src/fontfile/fontscale.c src/fontfile/gunzip.c \
267 @XFONT_FONTFILE_TRUE@ src/fontfile/fontfile.lo \
361 src/fontfile/$(DEPDIR)/fontfile.Plo \
860 src/fontfile/fontfile.lo: src/fontfile/$(am__dirstamp) \
1537 -rm -f src/fontfile/$(DEPDIR)/fontfile.Plo
[all …]
H A DMakefile.am73 src/fontfile/bitsource.c \
74 src/fontfile/bufio.c \
76 src/fontfile/defaults.c \
77 src/fontfile/dirfile.c \
78 src/fontfile/fileio.c \
79 src/fontfile/filewr.c \
80 src/fontfile/fontdir.c \
81 src/fontfile/fontencc.c \
82 src/fontfile/fontfile.c \
84 src/fontfile/gunzip.c \
[all …]
/dports/print/harfbuzz-hb-view/harfbuzz-3.4.0/test/shape/
H A Drun-tests.py57 fontfile, options, unicodes, glyphs_expected = line.split (';') variable
59 if fontfile.startswith ('/') or fontfile.startswith ('"/'):
63 fontfile, expected_hash = (fontfile.split('@') + [''])[:2] variable
66 with open (fontfile, 'rb') as ff:
71 (fontfile, expected_hash, actual_hash))
75 print ('%s not found, skip.' % fontfile)
80 fontfile = os.path.normpath (os.path.join (cwd, fontfile)) variable
87 print ('# %s "%s" --unicodes %s' % (hb_shape, fontfile, unicodes))
95 …glyphs1 = shape_cmd ([fontfile, "--font-funcs=ot"] + extra_options + ["--unicodes", unicodes] + op…
97 …glyphs1 = shape_cmd ([fontfile, "--font-funcs=ft"] + extra_options + ["--unicodes", unicodes] + op…
[all …]
/dports/print/harfbuzz/harfbuzz-3.4.0/test/shape/
H A Drun-tests.py57 fontfile, options, unicodes, glyphs_expected = line.split (';') variable
59 if fontfile.startswith ('/') or fontfile.startswith ('"/'):
63 fontfile, expected_hash = (fontfile.split('@') + [''])[:2] variable
66 with open (fontfile, 'rb') as ff:
71 (fontfile, expected_hash, actual_hash))
75 print ('%s not found, skip.' % fontfile)
80 fontfile = os.path.normpath (os.path.join (cwd, fontfile)) variable
87 print ('# %s "%s" --unicodes %s' % (hb_shape, fontfile, unicodes))
95 …glyphs1 = shape_cmd ([fontfile, "--font-funcs=ot"] + extra_options + ["--unicodes", unicodes] + op…
97 …glyphs1 = shape_cmd ([fontfile, "--font-funcs=ft"] + extra_options + ["--unicodes", unicodes] + op…
[all …]
/dports/print/harfbuzz-icu/harfbuzz-3.4.0/test/shape/
H A Drun-tests.py57 fontfile, options, unicodes, glyphs_expected = line.split (';') variable
59 if fontfile.startswith ('/') or fontfile.startswith ('"/'):
63 fontfile, expected_hash = (fontfile.split('@') + [''])[:2] variable
66 with open (fontfile, 'rb') as ff:
71 (fontfile, expected_hash, actual_hash))
75 print ('%s not found, skip.' % fontfile)
80 fontfile = os.path.normpath (os.path.join (cwd, fontfile)) variable
87 print ('# %s "%s" --unicodes %s' % (hb_shape, fontfile, unicodes))
95 …glyphs1 = shape_cmd ([fontfile, "--font-funcs=ot"] + extra_options + ["--unicodes", unicodes] + op…
97 …glyphs1 = shape_cmd ([fontfile, "--font-funcs=ft"] + extra_options + ["--unicodes", unicodes] + op…
[all …]
/dports/x11-fonts/agave/agave-37/src/
H A Dbuild4 fontfile=$(basename $a .sfd)
5 fontforge -lang=ff -c 'Open($1); Generate($2)' ${fontfile}.sfd ${fontfile}.ttf
6 ttfautohint -v -t ${fontfile}.ttf ${fontfile}-autohinted.ttf
7 mv ${fontfile}-autohinted.ttf ${fontfile}.ttf
/dports/print/font2svg/font2svg-1.0/
H A Dfont2svg.sh121 fontfile=$2
122 if [ ! $fontfile = "-" ] ; then
126 echo "font2svg: kpsewhich could not locate file: \"$fontfile\"" > /dev/stderr ;
129 fontfile=$fontfile2 ;
133 if [ -z $fontfile ] ; then echo "font2svg: Missing input filename" > /dev/stderr ; exit 1 ; fi
134 if [ ! -f $fontfile ] ; then echo "font2svg: Could not open file \"$fontfile\"" > /dev/stderr ; exi…
150 echo "Converting \"$fontfile\" -> \"$output\""
152 $gs_exe -dNODISPLAY -dBATCH -dNOPAUSE -q -dQUIT -sFONTFILE="$fontfile" \
/dports/graphics/sdl_gfx/SDL_gfx-2.0.26/Test/
H A DTestFonts.c78 static char *fontfile[NUM_SDLGFX_FONTS] = { variable
138 if (strcmp(fontfile[i],"default")) { in LoadFontFile()
140 sprintf(filename,"../Fonts/%s",fontfile[i]); in LoadFontFile()
143 sprintf(filename,"..\\Fonts\\%s",fontfile[i]); in LoadFontFile()
146 sprintf(filename,"..\\..\\Fonts\\%s",fontfile[i]); in LoadFontFile()
149 sprintf(filename,"..\\..\\..\\Fonts\\%s",fontfile[i]); in LoadFontFile()
152 fprintf(stderr,"Cannot find fontfile: %s\n", fontfile[i]); in LoadFontFile()
194 stringRGBA(screen,x,y,fontfile[i],255,255,255,255); in Draw()
224 stringRGBA(screen,x,y,fontfile[i],255,255,255,255); in Draw()
255 stringRGBA(screen,x,y,fontfile[i],255,255,255,255); in Draw()
[all …]
/dports/devel/py-pysdl2/PySDL2-0.9.9/sdl2/test/
H A Dsdlttf_test.py55 font = sdlttf.TTF_OpenFont(fontfile, x)
66 fp = open(fontfile, "rb")
76 fp = open(fontfile, "rb")
90 font = sdlttf.TTF_OpenFont(fontfile, 10)
102 font = sdlttf.TTF_OpenFont(fontfile, 10)
110 font = sdlttf.TTF_OpenFont(fontfile, 10)
155 font = sdlttf.TTF_OpenFont(fontfile, 10)
170 font = sdlttf.TTF_OpenFont(fontfile, 10)
175 font = sdlttf.TTF_OpenFont(fontfile, 10)
180 font = sdlttf.TTF_OpenFont(fontfile, 10)
[all …]
/dports/games/zangband/zangband/src/
H A Dmain-lsl.c258 gzFile fontfile; in get_fontfile() local
261 if (fontfile) return (fontfile); in get_fontfile()
265 if (fontfile) return (fontfile); in get_fontfile()
269 if (fontfile) return (fontfile); in get_fontfile()
273 if (fontfile) return (fontfile); in get_fontfile()
283 gzFile fontfile; in initfont() local
287 fontfile = get_fontfile(); in initfont()
289 if (!(fontfile)) in initfont()
296 gzread(fontfile, &junk, 4); in initfont()
305 gzread(fontfile, temp, 256 * 13); in initfont()
[all …]
/dports/chinese/ttfm/ttfm-0.9.5/modules/old/
H A Dttf2pk.ttfm124 fontfile=`basename $f`
125 eval `echo $fontfile | awk -F. '{ printf "font=%s;ext=%s",\$1,\$2 }'`
158 grep -v $fontfile $TTFONTSMAP > $TMP
175 /usr/bin/ttf2tfm ${DEFAULTPATH}/${fontfile} \
187 ln -sf ${DEFAULTPATH}/${fontfile} ${TEXTTFPATH}/${fontfile}
196 fontfile=`basename $f`
197 grep -v "$fontfile" $TTFONTSMAP > $TMP
200 [ -f ${TEXTTFPATH}/${fontfile} ] && rm -f ${TEXTTFPATH}/${fontfile}
/dports/www/moodle310/moodle/theme/
H A Dfont.php137 $fontfile = $theme->resolve_font_location($font, $component); variable
142 if (empty($fontfile) or !is_readable($fontfile)) {
145 send_uncached_font($fontfile, $font, $mimetype);
150 if (empty($fontfile) or !is_readable($fontfile)) {
161 $cachefont = cache_font($font, $fontfile, $candidatelocation);
171 send_uncached_font($fontfile, $font, $mimetype);
226 * @param string $fontfile The location of the font file we want to cache.
230 function cache_font($font, $fontfile, $candidatelocation) { argument
242 if (@copy($fontfile, $cachefont.'.tmp')) {
/dports/www/moodle311/moodle/theme/
H A Dfont.php137 $fontfile = $theme->resolve_font_location($font, $component); variable
142 if (empty($fontfile) or !is_readable($fontfile)) {
145 send_uncached_font($fontfile, $font, $mimetype);
150 if (empty($fontfile) or !is_readable($fontfile)) {
161 $cachefont = cache_font($font, $fontfile, $candidatelocation);
171 send_uncached_font($fontfile, $font, $mimetype);
226 * @param string $fontfile The location of the font file we want to cache.
230 function cache_font($font, $fontfile, $candidatelocation) { argument
242 if (@copy($fontfile, $cachefont.'.tmp')) {
/dports/www/moodle39/moodle/theme/
H A Dfont.php137 $fontfile = $theme->resolve_font_location($font, $component); variable
142 if (empty($fontfile) or !is_readable($fontfile)) {
145 send_uncached_font($fontfile, $font, $mimetype);
150 if (empty($fontfile) or !is_readable($fontfile)) {
161 $cachefont = cache_font($font, $fontfile, $candidatelocation);
171 send_uncached_font($fontfile, $font, $mimetype);
226 * @param string $fontfile The location of the font file we want to cache.
230 function cache_font($font, $fontfile, $candidatelocation) { argument
242 if (@copy($fontfile, $cachefont.'.tmp')) {
/dports/graphics/p5-SWF-Builder/SWF-Builder-0.16/lib/SWF/Builder/Character/Font/
H A DFreeType.pm20 my ($self, $fontfile, $fontname) = @_;
24 my $font = Font::FreeType->new->face($fontfile, load_flags => FT_LOAD_NO_HINTING)
25 or croak "Can't open font file '$fontfile'";
29 $font = Font::FreeType->new->face($fontfile, index => $i, load_flags => FT_LOAD_NO_HINTING);
35 ($fontname) = ($fontfile =~ /.*\/([^\\\/.]+)/);
50 my ($self, $fontfile) = @_;
51 my $font = Font::FreeType->new->face($fontfile)
52 or croak "Can't open font file '$fontfile'";
55 $font = Font::FreeType->new->face($fontfile, $i);
/dports/print/py-fontaine/pyfontaine-1.4.0/fontaine/
H A Dfont.py38 def __init__(self, fontfile): argument
104 def __init__(self, fontfile): argument
107 self.ttf.importXML(fontfile, quiet=True)
114 def openfont(fontfile, charsets=[]): argument
115 if fontfile.lower().endswith('.ttx'):
116 return TTXFont(fontfile, charsets)
117 if fontfile.lower().endswith('.ufo') and os.path.isdir(fontfile):
128 return TTFont(fontfile, charsets)
213 def __init__(self, fontfile, charsets=[]): argument
214 self._fontFace = FontFace(fontfile)
[all …]
/dports/lang/seed7/seed7/src/
H A Dcon_x11.c591 ch = fgetc(fontfile); in readnumber()
601 ch = fgetc(fontfile); in readnumber()
608 ungetc(ch, fontfile); in readnumber()
623 FILE *fontfile; in readfont() local
765 fclose(fontfile); in readfont()
1037 FILE *fontfile; in x11_setfont() local
1068 fscanf(fontfile, "\n"); in x11_setfont()
1069 fscanf(fontfile, "\n"); in x11_setfont()
1128 fscanf(fontfile, "\n"); in x11_setfont()
1142 ch = fgetc(fontfile); in x11_setfont()
[all …]
/dports/misc/figlet/figlet-2.2.5/
H A Dchkfont.c31 FILE *fontfile; variable
117 ret = fgets(fileline,maxlen+1000,fontfile); in readchar()
124 if (feof(fontfile)) { in readchar()
229 fontfile=stdin; in checkit()
232 fontfile=fopen(fontfilename,"r"); in checkit()
233 if (fontfile == NULL) { in checkit()
239 if (fontfile!=stdin) { in checkit()
247 numsread=fscanf(fontfile,"%4s",magicnum); in checkit()
258 cha=getc(fontfile); in checkit()
265 if (fgets(fileline,1001,fontfile)==NULL) { in checkit()
[all …]
/dports/textproc/p5-PDF-Builder/PDF-Builder-3.023/examples/
H A DShowFont.pl43 my $fontfile = ''; # required (last argument)
64 $fontfile = $ARGV[$i];
67 $fontname = $fontfile;
69 $fontname = $fontfile;
70 if ($fontfile =~ m#[/\\]([^/\\]+)$#) {
165 if ($fontfile eq '' || substr($fontfile, 0, 1) eq '-') {
166 print "missing or incorrect font file: $fontfile\n";
186 print "font file: $fontfile\ntype: $type\nencode list: @encode_list\nfrom: $from to: $to (multibyte…
232 $cur_font = $pdf->psfont($fontfile, -encode => $encode,
235 $cur_font = $pdf->psfont($fontfile, -encode => $encode,
/dports/deskutils/myitcrm/MyITCRM-0.2.9.3/include/fpdf/font/makefont/
H A Dmakefont.php323 if($fontfile)
325 $ext=strtolower(substr($fontfile,-3));
354 if($fontfile)
357 if(!file_exists($fontfile))
358 die('<b>Error:</b> font file not found: '.$fontfile);
360 CheckTTF($fontfile);
361 $f=fopen($fontfile,'rb');
363 die('<b>Error:</b> Can\'t open '.$fontfile);
364 $file=fread($f,filesize($fontfile));
399 $s.='$file=\''.basename($fontfile)."';\n";
[all …]

12345678910>>...33