Inline full glyph map and refine encoding fallbacks
This commit is contained in:
@@ -564,6 +564,11 @@ pub(crate) fn parse_encoding_dictionary(
|
|||||||
}
|
}
|
||||||
if let Some(ch) = glyph_to_char(&glyph_name) {
|
if let Some(ch) = glyph_to_char(&glyph_name) {
|
||||||
encoding_map.insert(current_code, ch);
|
encoding_map.insert(current_code, ch);
|
||||||
|
} else {
|
||||||
|
debug!(
|
||||||
|
" Differences: code=0x{:02X} glyph={:?} (unmapped)",
|
||||||
|
current_code, glyph_name
|
||||||
|
);
|
||||||
}
|
}
|
||||||
current_code = current_code.wrapping_add(1);
|
current_code = current_code.wrapping_add(1);
|
||||||
}
|
}
|
||||||
|
|||||||
+4517
-273
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user