class Freetype::SfntName

Defined in:

freetype/sfnt_name.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(sfnt_name : LibFreetype::FT_SfntName) #

[View source]

Instance Method Detail

def encoding_id #

The encoding ID for 'string'.


[View source]
def language_id #

The language ID for 'string'.


[View source]
def name_id #

An identifier for 'string'.


[View source]
def platform_id #

The platform ID for 'string'.


[View source]
def sfnt_name : LibFreetype::FT_SfntName #

[View source]
def string #

The 'name' string. Note that its format differs depending on the (platform,encoding) pair. It can be a Pascal String, a UTF-16 one, etc.

Generally speaking, the string is not zero-terminated. Please refer to the TrueType specification for details.


[View source]
def string_len #

The length of 'string' in bytes.


[View source]

Macro Detail

macro method_missing(call) #

[View source]