Apply XeLaTeX CMaps to document text and embedded fonts
This commit is contained in:
1 parent
af6466cd98
commit
7d460e0fa1
20 files changed
+747
-65
No files matched your search
@@ -2026,7 +2026,9 @@ fn write_native_font(
|
||||
NativeFontProgram::Pk(_) => unreachable!(),
|
||||
};
|
||||
let unicode = objects.len() + 1;
|
||||
let cmap = if !has_glyph_unicode {
|
||||
let cmap = if let Some(texts) = &paint.xdv_unicode {
|
||||
Some(type1_tounicode_texts(&texts.texts))
|
||||
} else if !has_glyph_unicode {
|
||||
None
|
||||
} else if xdv_type1 {
|
||||
let names = options.and_then(|options| options.xdv_glyph_names);
|
||||
|
||||
Reference in new issue
Block a user