1
2
3
4
5
6
7
8
9
10
11
12
//! Multilingual strings.

use std::io::Result;

use crate::formats::opentype::cache::{Cache, Reference};

/// Multilingual strings.
pub type Names = Reference<opentype::truetype::tables::Names>;

pub(crate) fn read<T: typeface::tape::Read>(cache: &mut Cache<T>) -> Result<Names> {
    Ok(cache.names()?.clone())
}