How to solve the problem of TTF format fonts generated by allsort not opening on Windows? #109
Unanswered
bianbiandashen
asked this question in
Q&A
Replies: 1 comment
-
Sorry the subset fonts are not valid standalone fonts at the moment. See #27 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
fn subset_font(
font_data_bytes: &[u8],
text: &str,
) -> Result<Vec, Box> {
use std::collections::HashSet;
use allsorts::binary::read::ReadScope;
use allsorts::font_data::FontData;
use allsorts::subset::subset;
use allsorts::Font;
use allsorts::font::MatchingPresentation;
}
Beta Was this translation helpful? Give feedback.
All reactions