fn glyph_id_from_ranges<T: CharsetRange>( ranges: &[T], string_id: StringId, ) -> Result<GlyphId, ReadError>