[NTG-context] Win fonts lookup: ** (was: Animation captions

Hans Hagen pragma at wxs.nl
Mon Oct 6 09:14:29 CEST 2014


On 10/6/2014 9:08 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> Hello,
>
> when trying Jeong's example, Ctx prints:
>
> "
> fonts           > names > globbing path 'c:/windows/fonts/**.otf'
> fonts           > names > identifying system font files with suffix 'OTF'
> fonts           > names > globbing path 'c:/windows/fonts/**.OTF'
> fonts           > names > 0 system files identified, 0 skipped, 0
> duplicates, 0 hash entries added, runtime 0.094 seconds
> fonts           > names > identifying system font files with suffix 'ttf'
> fonts           > names > globbing path 'c:/windows/fonts/**.ttf'
> fonts           > names > identifying system font files with suffix 'TTF'
> fonts           > names > globbing path 'c:/windows/fonts/**.TTF'
> fonts           > names > 453 system files identified, 2 skipped, 2
> duplicates, 451 hash entries added, runtime 6.719 seconds
> fonts           > names > identifying system font files with suffix 'ttc'
> fonts           > names > globbing path 'c:/windows/fonts/**.ttc'
> fonts           > names > identifying system font files with suffix 'TTC'
> fonts           > names > globbing path 'c:/windows/fonts/**.TTC'
> fonts           > names > 3 system files identified, 0 skipped, 0
> duplicates, 3 hash entries added, runtime 0.094 seconds
> fonts           > names > identifying system font files with suffix 'dfont'
> fonts           > names > globbing path 'c:/windows/fonts/**.dfont'
> fonts           > names > identifying system font files with suffix 'DFONT'
> fonts           > names > globbing path 'c:/windows/fonts/**.DFONT'
> fonts           > names > 0 system files identified, 0 skipped, 0
> duplicates, 0 hash entries added, runtime 0.047 seconds
> fonts           > names > identifying system font files with suffix 'afm'
> fonts           > names > globbing path 'c:/windows/fonts/**.afm'
> fonts           > names > identifying system font files with suffix 'AFM'
> fonts           > names > globbing path 'c:/windows/fonts/**.AFM'
> "
>
> So just to point there are two asterisks "**" in the file name masks
> (c:/windows/fonts/**.otf, ... c:/windows/fonts/**.AFM), which probably
> produces no error, but it may have been intended to have just one
> asterisk, like "c:/windows/fonts/*.otf" etc.

** means recursive

-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list