open-src/lib/libXfont/mapfile-vers
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Wed, 09 Dec 2009 05:57:46 -0800
changeset 855 74f3f2ca3d10
parent 729 d654a217cd7e
child 919 425233ae7236
permissions -rw-r--r--
6908657 libXfont hides too many symbols

###############################################################################
#
# libXfont version mapfile
#
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, and/or sell copies of the Software, and to permit persons
# to whom the Software is furnished to do so, provided that the above
# copyright notice(s) and this permission notice appear in all copies of
# the Software and that both the above copyright notice(s) and this
# permission notice appear in supporting documentation.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# 
# Except as contained in this notice, the name of a copyright holder
# shall not be used in advertising or otherwise to promote the sale, use
# or other dealings in this Software without prior written authorization
# of the copyright holder.
#

SUNWprivate {
    global:
	# "src/builtins/builtin.h" - needed by X servers
	BuiltinFileOpen;
	BuiltinFileClose;
	BuiltinReadDirectory;
	BuiltinRegisterFontFileFunctions;
	BuiltinRegisterFpeFunctions;

	# <X11/fonts/bdfint.h>
	bdfError;
	bdfWarning;
	bdfGetLine;
	bdfForceMakeAtom;
	bdfGetPropertyValue;
	bdfIsInteger;
	bdfHexByte;
	bdfSpecialProperty;
	bdfReadFont;
	bdfReadFontInfo;
	FontCharInkMetrics;
	FontCharReshape;

	# <X11/fonts/bufio.h>
	BufFileCreate;
	BufFileOpenRead;
	BufFileOpenWrite;
	BufFilePushCompressed;
	BufFilePushZIP;
	BufFilePushBZIP2;
	BufFileClose;
	BufFileRead;
	BufFileWrite;

	# <X11/fonts/font.h>
	MakeFontNamesRecord;
	FreeFontNames;
	AddFontNamesName;
	MakeFontPatternCache;
	FreeFontPatternCache;
	EmptyFontPatternCache;
	CacheFontPattern;
	GetClientResolutions = NODIRECT;
	FindCachedFontPattern;
	RemoveCachedFontPattern;

	# <X11/fonts/fntfil.h>
	FontFileNameCheck;
	FontFileInitFPE;
	FontFileResetFPE;
	FontFileFreeFPE;
	FontFileOpenFont;
	FontFileCloseFont;
	FontFileOpenBitmap;
	FontFileListFonts;
	FontFileStartListFonts;
	FontFileStartListFontsWithInfo;
	FontFileListNextFontWithInfo;
	FontFileStartListFontsAndAliases;
	FontFileListNextFontOrAlias;
	FontFileRegisterLocalFpeFunctions;
	CatalogueRegisterLocalFpeFunctions;
	FontFileAddEntry;
	FontFileAddFontAlias;
	FontFileAddFontFile;
	FontFileCountDashes;
	FontFileFindNameInDir;
	FontFileFindNameInScalableDir;
	FontFileFindNamesInDir;
	FontFileFindNamesInScalableDir;
	FontFileFreeDir;
	FontFileFreeEntry;
	FontFileFreeTable;
	FontFileInitTable;
	FontFileMakeDir;
	FontFileMatchName;
	FontFileSaveString;
	FontFileSortDir;
	FontFileSortTable;
	FontDefaultFormat;
	FontFileRegisterRenderer;
	FontFilePriorityRegisterRenderer;
	FontFileMatchRenderer;
	FontFileAddScaledInstance;
	FontFileSwitchStringsToBitmapPointers;
	FontFileRemoveScaledInstance;
	FontFileCompleteXLFD;
	FontFileFindScaledInstance;
	FontFileRegisterBitmapSource;
	FontFileUnregisterBitmapSource;
	FontFileEmptyBitmapSource;
	FontFileMatchBitmapSource;
	FontFileReadDirectory;
	FontFileDirectoryChanged;

	# <X11/fonts/fntfilio.h>
	FontFileOpen;
	FontFileClose;
	FontFileOpenWrite;
	FontFileOpenWriteFd;
	FontFileOpenFd;

	# <X11/fonts/fntfilst.h>
	FontFileBitmapSources;

	# <X11/fonts/fontmisc.h>
	MakeAtom = NODIRECT;
	ValidAtom = NODIRECT;
	NameForAtom = NODIRECT;
	BitOrderInvert;
	TwoByteSwap;
	FourByteSwap;
	RepadBitmap;
	register_fpe_functions = NODIRECT;

	# <X11/fonts/fontproto.h>
	RegisterFPEFunctions = NODIRECT;
	GetDefaultPointSize = NODIRECT;
	init_fs_handlers = NODIRECT;
	remove_fs_handlers = NODIRECT;
	client_auth_generation = NODIRECT;
	ClientSignal = NODIRECT;
	DeleteFontClientID = NODIRECT;
	GetNewFontClientID = NODIRECT;
	StoreFontClientFont = NODIRECT;
	FontFileRegisterFpeFunctions;
	fs_register_fpe_functions;
	CreateFontRec;
	DestroyFontRec;
	AllocateFontPrivateIndex;
	ResetFontPrivateIndex;
	FreeTypeRegisterFontFileFunctions;

	# <X11/fonts/fontstruct.h>
	_FontSetNewPrivate;

	# <X11/fonts/fontutil.h>
	FontCouldBeTerminal;
	CheckFSFormat;
	FontComputeInfoAccelerators;
	GetGlyphs;
	QueryGlyphExtents;
	QueryTextExtents;
	ParseGlyphCachingMode;
	InitGlyphCaching;
	SetGlyphCachingMode;
	add_range;

	# <X11/fonts/fontxlfd.h>
	xlfd_round_double;
	FontParseXLFDName;
	FontParseRanges;

	# <X11/fonts/pcf.h>
	pcfReadFont;
	pcfReadFontInfo;
	pcfWriteFont;
	pcfError;

	# "src/bitmap/snfstr.h" - needed by xfs
	SnfSetFormat;

    local:
	# Additional weak symbols
	ErrorF = NODIRECT;
	FatalError = NODIRECT;
	find_old_font = NODIRECT;
	GetTimeInMillis = NODIRECT;
	serverClient = NODIRECT;
	set_font_authorizations = NODIRECT;
	serverGeneration = NODIRECT;

# Need to make sure _FontTrans* aren't exported to avoid conflicts with server
# versions in xfs binary
	*;
};