C# 클래스 SharpFont.FTStream

A handle to an input stream.
상속: NativeObject
파일 보기 프로젝트 열기: Robmaister/SharpFont 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FTStream System

공개 메소드들

메소드 설명
OpenGzip ( FTStream source ) : void

Open a new stream to parse gzip-compressed font files. This is mainly used to support the compressed ‘*.pcf.gz’ fonts that come with XFree86.

The source stream must be opened before calling this function.

Calling the internal function ‘FT_Stream_Close’ on the new stream will not call ‘FT_Stream_Close’ on the source stream. None of the stream objects will be released to the heap.

The stream implementation is very basic and resets the decompression process each time seeking backwards is needed within the stream.

In certain builds of the library, gzip compression recognition is automatically handled when calling Library.NewFace or Library.OpenFace. This means that if no font driver is capable of handling the raw compressed file, the library will try to open a gzipped stream from it and re-open the face with it.

This function may return Error.UnimplementedFeature if your build of FreeType was not compiled with zlib support.

OpenLzw ( FTStream source ) : void

Open a new stream to parse LZW-compressed font files. This is mainly used to support the compressed ‘*.pcf.Z’ fonts that come with XFree86.

The source stream must be opened before calling this function.

Calling the internal function ‘FT_Stream_Close’ on the new stream will not call ‘FT_Stream_Close’ on the source stream. None of the stream objects will be released to the heap.

The stream implementation is very basic and resets the decompression process each time seeking backwards is needed within the stream.

In certain builds of the library, LZW compression recognition is automatically handled when calling Library.NewFace or Library.OpenFace. This means that if no font driver is capable of handling the raw compressed file, the library will try to open a LZW stream from it and re-open the face with it.

This function may return Error.UnimplementedFeature if your build of FreeType was not compiled with LZW support.

StreamOpenBzip2 ( FTStream source ) : void

Open a new stream to parse bzip2-compressed font files. This is mainly used to support the compressed ‘*.pcf.bz2’ fonts that come with XFree86.

The source stream must be opened before calling this function.

Calling the internal function ‘FT_Stream_Close’ on the new stream will not call ‘FT_Stream_Close’ on the source stream. None of the stream objects will be released to the heap.

The stream implementation is very basic and resets the decompression process each time seeking backwards is needed within the stream.

In certain builds of the library, bzip2 compression recognition is automatically handled when calling Library.NewFace or Library.OpenFace. This means that if no font driver is capable of handling the raw compressed file, the library will try to open a bzip2 stream from it and re-open the face with it.

This function may return Error.UnimplementedFeature if your build of FreeType was not compiled with bzip2 support.

비공개 메소드들

메소드 설명
FTStream ( IntPtr reference ) : System

메소드 상세

OpenGzip() 공개 메소드

Open a new stream to parse gzip-compressed font files. This is mainly used to support the compressed ‘*.pcf.gz’ fonts that come with XFree86.

The source stream must be opened before calling this function.

Calling the internal function ‘FT_Stream_Close’ on the new stream will not call ‘FT_Stream_Close’ on the source stream. None of the stream objects will be released to the heap.

The stream implementation is very basic and resets the decompression process each time seeking backwards is needed within the stream.

In certain builds of the library, gzip compression recognition is automatically handled when calling Library.NewFace or Library.OpenFace. This means that if no font driver is capable of handling the raw compressed file, the library will try to open a gzipped stream from it and re-open the face with it.

This function may return Error.UnimplementedFeature if your build of FreeType was not compiled with zlib support.

public OpenGzip ( FTStream source ) : void
source FTStream The source stream.
리턴 void

OpenLzw() 공개 메소드

Open a new stream to parse LZW-compressed font files. This is mainly used to support the compressed ‘*.pcf.Z’ fonts that come with XFree86.

The source stream must be opened before calling this function.

Calling the internal function ‘FT_Stream_Close’ on the new stream will not call ‘FT_Stream_Close’ on the source stream. None of the stream objects will be released to the heap.

The stream implementation is very basic and resets the decompression process each time seeking backwards is needed within the stream.

In certain builds of the library, LZW compression recognition is automatically handled when calling Library.NewFace or Library.OpenFace. This means that if no font driver is capable of handling the raw compressed file, the library will try to open a LZW stream from it and re-open the face with it.

This function may return Error.UnimplementedFeature if your build of FreeType was not compiled with LZW support.

public OpenLzw ( FTStream source ) : void
source FTStream The source stream.
리턴 void

StreamOpenBzip2() 공개 메소드

Open a new stream to parse bzip2-compressed font files. This is mainly used to support the compressed ‘*.pcf.bz2’ fonts that come with XFree86.

The source stream must be opened before calling this function.

Calling the internal function ‘FT_Stream_Close’ on the new stream will not call ‘FT_Stream_Close’ on the source stream. None of the stream objects will be released to the heap.

The stream implementation is very basic and resets the decompression process each time seeking backwards is needed within the stream.

In certain builds of the library, bzip2 compression recognition is automatically handled when calling Library.NewFace or Library.OpenFace. This means that if no font driver is capable of handling the raw compressed file, the library will try to open a bzip2 stream from it and re-open the face with it.

This function may return Error.UnimplementedFeature if your build of FreeType was not compiled with bzip2 support.

public StreamOpenBzip2 ( FTStream source ) : void
source FTStream The source stream.
리턴 void