1423N/A# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. 970N/A# Permission is hereby granted, free of charge, to any person obtaining a 970N/A# copy of this software and associated documentation files (the "Software"), 970N/A# to deal in the Software without restriction, including without limitation 970N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense, 970N/A# and/or sell copies of the Software, and to permit persons to whom the 970N/A# Software is furnished to do so, subject to the following conditions: 970N/A# The above copyright notice and this permission notice (including the next 970N/A# paragraph) shall be included in all copies or substantial portions of the 970N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 970N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 970N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 970N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 970N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 970N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 970N/A# DEALINGS IN THE SOFTWARE. 970N/Arequire 5.005;
# minimal Perl version required 970N/A# Directories containing font files 970N/A or die "Cannot open manifest $manifest: $!\n";
1423N/A # mkfontscale -b -s -l is equivalent to mkfontdir 970N/A or die "Cannot open $protometafile: $!\n";
970N/A or die "Cannot open $protometafile: $!\n";
970N/A# print STDERR qq(No match found for "$fontxlfd" in $protometafile\n); 970N/A# Run fc-scan from the proto area, since it wasn't delivered until build 141 970N/A# See FcPatternFormat(3) for the full definition of the format syntax 970N/A# %{file} => print the named value for this font 970N/A# %{fullname|cescape} => print the named value with C-style string escapes 970N/A# (adds \ in front of \ or " characters) 970N/A# %{?fullname{..A..}{..B..}} => if fullname is defined, then print A, else B 970N/A# []fullname,fullnamelang{..A..} => for each pair of fullname & fullnamelang, 970N/A# print A with those values substituted 1288N/A ($? &
127), ($? &
128) ?
'with' :
'without';