Apply native font protrusion during line breaking and packing
This commit is contained in:
1 parent
361e8d070f
commit
4777d66fc8
22 files changed
+441
-32
No files matched your search
@@ -334,7 +334,7 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
|
||||
let envelope: serde_json::Value = serde_json::from_slice(&encoded).unwrap();
|
||||
let original: serde_json::Value =
|
||||
serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap();
|
||||
assert_eq!(original["schema"], 31);
|
||||
assert_eq!(original["schema"], 32);
|
||||
for (schema, expected) in [
|
||||
(1, "incompatible native format"),
|
||||
(2, "incompatible native format"),
|
||||
@@ -367,6 +367,7 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
|
||||
(29, "incompatible native format"),
|
||||
(30, "incompatible native format"),
|
||||
(31, "glyph_unicode"),
|
||||
(32, "glyph_unicode"),
|
||||
] {
|
||||
let mut payload = original.clone();
|
||||
payload["schema"] = schema.into();
|
||||
|
||||
Reference in new issue
Block a user