| Package | Description |
|---|---|
| com.aspose.font |
The com.aspose.font is a root package for all classes that deal with fonts.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteContentStreamSource
Represents a stream source based on _content stream.
|
class |
FileSystemStreamSource
Represents a stream source based on file system.
|
| Modifier and Type | Method and Description |
|---|---|
StreamSource |
TtfCffTable.getCffSource()
Raw bytes for outlines in Compact Font Format representation.
|
StreamSource |
FontFileDefinition.getStreamSource()
Gets the stream source.
|
| Modifier and Type | Method and Description |
|---|---|
static Font |
Font.open(FontType fontType,
StreamSource fontStreamSource)
Opens a font, using font type and stream source.
|
Font |
FontFactory.open(FontType fontType,
StreamSource fontStreamSource)
Opens a font, using font type and stream source.
|
static FontDefinition |
FontDefinition.open(StreamSource source,
FontType fontType)
Returns FontDefinition for font stream source and font type.
|
void |
TtfCffTable.setCffSource(StreamSource streamSource) |
| Constructor and Description |
|---|
FontDefinition(FontType fontType,
StreamSource streamSource)
Creates single-file Font definition.
|
FontDefinition(FontType fontType,
String fileExtension,
StreamSource streamSource)
Creates single-file Font definition.
|
FontDefinition(String fontName,
FontType fontType,
String fileExtension,
StreamSource streamSource)
Creates single-file Font definition.
|
FontFileDefinition(StreamSource streamSource)
Creates a file definition using file content only.
|
FontFileDefinition(String fileExtension,
StreamSource streamSource)
Creates a file definition using file content only.
|
FontFileDefinition(String fileExtension,
StreamSource streamSource,
long offset)
Creates a file definition using file content only.
|
TtcFontFileDefinition(int fontIndex,
String fileExtension,
StreamSource streamSource,
long offset)
Creates a file definition using file content only.
|
TtcFontSource(StreamSource source)
Creates TTC Font source based on IStreamSource stream providing object.
|
Copyright © 2025 Aspose. All Rights Reserved.