MonobjcMonobjc Documented Class Library
CreatePostScriptSubset Method (font, subsetName, format, glyphs, count, encoding)
NamespacesMonobjc.ApplicationServicesCGFontCreatePostScriptSubset(IntPtr, NSString, CGFontPostScriptFormat, IntPtr, NSUInteger, IntPtr)

Creates a subset of the font in the specified PostScript format.

Original signature is 'CFDataRef CGFontCreatePostScriptSubset ( CGFontRef font, CFStringRef subsetName, CGFontPostScriptFormat format, const CGGlyph glyphs[], size_t count, const CGGlyph encoding[256] );'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSData CreatePostScriptSubset(
	IntPtr font,
	NSString subsetName,
	CGFontPostScriptFormat format,
	IntPtr glyphs,
	NSUInteger count,
	IntPtr encoding
)
Public Shared Function CreatePostScriptSubset ( _
	font As IntPtr, _
	subsetName As NSString, _
	format As CGFontPostScriptFormat, _
	glyphs As IntPtr, _
	count As NSUInteger, _
	encoding As IntPtr _
) As NSData
public:
static NSData^ CreatePostScriptSubset(
	IntPtr font, 
	NSString^ subsetName, 
	CGFontPostScriptFormat format, 
	IntPtr glyphs, 
	NSUInteger count, 
	IntPtr encoding
)
Parameters
font (IntPtr)
MISSING
subsetName (NSString)
MISSING
format (CGFontPostScriptFormat)
MISSING
glyphs (IntPtr)
MISSING
count (NSUInteger)
MISSING
encoding (IntPtr)
MISSING
Return Value
A subset of the font created from the supplied parameters.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)