943N/A * Copyright (c) 1993, 2009, Oracle and/or its affiliates. All rights reserved. 536N/A * Permission is hereby granted, free of charge, to any person obtaining a 919N/A * copy of this software and associated documentation files (the "Software"), 919N/A * to deal in the Software without restriction, including without limitation 919N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense, 919N/A * and/or sell copies of the Software, and to permit persons to whom the 919N/A * Software is furnished to do so, subject to the following conditions: 919N/A * The above copyright notice and this permission notice (including the next 919N/A * paragraph) shall be included in all copies or substantial portions of the 919N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 919N/A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 919N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 919N/A * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 919N/A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 919N/A * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 919N/A * DEALINGS IN THE SOFTWARE. 536N/A/* Code copied from libXfont is: 536N/ACopyright 1991, 1998 The Open Group 536N/APermission to use, copy, modify, distribute, and sell this software and its 536N/Adocumentation for any purpose is hereby granted without fee, provided that 536N/Athe above copyright notice appear in all copies and that both that 536N/Acopyright notice and this permission notice appear in supporting 536N/AThe above copyright notice and this permission notice shall be included in 536N/Aall copies or substantial portions of the Software. 536N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 536N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 536N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 536N/AOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 536N/AAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 536N/ACONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 536N/AExcept as contained in this notice, the name of The Open Group shall not be 536N/Aused in advertising or otherwise to promote the sale, use or other dealings 536N/Ain this Software without prior written authorization from The Open Group. 536N/A * Ensure that a fonts.alias file only contains aliases for fonts that exist 536N/A * We do this by first reading in the fonts.dir file and then for 536N/A * each entry in the fonts.alias file we verify that the alias can 536N/A * be resolved. Most this of this code is borrowed from 536N/A * libXfont with minor modifications. 705N/A/* Provide pseudo renderers for font file formats we may find in fonts.dir 536N/A files during installation, but which libXfont does not support */ 705N/Astatic inline unsigned char 536N/A /* Match XLFD patterns */ 536N/A /* Match non XLFD pattern */ 536N/A return;
/* fail silently -- if no alias file, we're done */ 536N/A /* 4258475: don't add if the names are the same */ 536N/A /* add this alias to list of known aliases */ 536N/A ;
/* do nothing -- fail silently */