1953daebaSmrg/* 2953daebaSmrg * fontconfig/test/test-bz89617.c 3953daebaSmrg * 4953daebaSmrg * Copyright © 2000 Keith Packard 5953daebaSmrg * Copyright © 2015 Akira TAGOH 6953daebaSmrg * 7953daebaSmrg * Permission to use, copy, modify, distribute, and sell this software and its 8953daebaSmrg * documentation for any purpose is hereby granted without fee, provided that 9953daebaSmrg * the above copyright notice appear in all copies and that both that 10953daebaSmrg * copyright notice and this permission notice appear in supporting 11953daebaSmrg * documentation, and that the name of the author(s) not be used in 12953daebaSmrg * advertising or publicity pertaining to distribution of the software without 13953daebaSmrg * specific, written prior permission. The authors make no 14953daebaSmrg * representations about the suitability of this software for any purpose. It 15953daebaSmrg * is provided "as is" without express or implied warranty. 16953daebaSmrg * 17953daebaSmrg * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 18953daebaSmrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 19953daebaSmrg * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR 20953daebaSmrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 21953daebaSmrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 22953daebaSmrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 23953daebaSmrg * PERFORMANCE OF THIS SOFTWARE. 24953daebaSmrg */ 25953daebaSmrg#include <stdio.h> 26953daebaSmrg#include <fontconfig/fontconfig.h> 27953daebaSmrg 28953daebaSmrgint 29953daebaSmrgmain (void) 30953daebaSmrg{ 31953daebaSmrg FcConfig *config = FcConfigCreate (); 32953daebaSmrg 33953daebaSmrg if (!FcConfigAppFontAddFile (config, (const FcChar8 *)SRCDIR "/4x6.pcf") || 34953daebaSmrg FcConfigAppFontAddFile (config, (const FcChar8 *)"/dev/null")) 35953daebaSmrg return 1; 36953daebaSmrg 37953daebaSmrg FcConfigDestroy (config); 38953daebaSmrg 39953daebaSmrg return 0; 40953daebaSmrg} 41