| Crates.io | ttf-name-decoder |
| lib.rs | ttf-name-decoder |
| version | 0.1.0 |
| created_at | 2022-02-22 13:23:47.131804+00 |
| updated_at | 2022-02-22 13:23:47.131804+00 |
| description | Decoder for names of Truetype font. |
| homepage | |
| repository | https://github.com/ssssota/ttf-name-decoder |
| max_upload_size | |
| id | 537276 |
| size | 24,497 |
Decoder for names of truetype fonts.
let platform_id: u16 = 3; // Windows
let encoding_id: u16 = 1; // Unicode
let language_id: u16 = 1033; // English
let name_data: Vec<u8> = get_data();
let result = ttf_name_decoder::decode(&name_data)?;