We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently only format4 / format12 are hooked up:
pub fn map_codepoint(&self, codepoint: impl Into<u32>) -> Option<GlyphId> { let codepoint = codepoint.into(); for record in self.encoding_records() { if let Ok(subtable) = record.subtable(self.offset_data()) { if let Some(gid) = match subtable { CmapSubtable::Format4(format4) => format4.map_codepoint(codepoint), CmapSubtable::Format12(format12) => format12.map_codepoint(codepoint), _ => None, } { return Some(gid); } } } None }
The text was updated successfully, but these errors were encountered:
[read-fonts/cmap] Towards supporting format13 subtables
6234985
Doesn't work, but a start. Fixes #1431
Successfully merging a pull request may close this issue.
Currently only format4 / format12 are hooked up:
The text was updated successfully, but these errors were encountered: