diff --git a/src/core/font_substitutions.js b/src/core/font_substitutions.js index 41bc5cc75fbb1..1e87fabac5a3a 100644 --- a/src/core/font_substitutions.js +++ b/src/core/font_substitutions.js @@ -51,6 +51,7 @@ const substitutionMap = new Map([ "FreeSerif", "Linux Libertine O", "Libertinus Serif", + "PT Astra Serif", "DejaVu Serif", "Bitstream Vera Serif", "Ubuntu", diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index 75b11be7dc1a2..d56b98224fac8 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -752,3 +752,4 @@ !bug1937438_af_from_latex.pdf !bug1937438_from_word.pdf !bug1937438_mml_from_latex.pdf +!pt-astra-serif.pdf diff --git a/test/pdfs/pt-astra-serif.pdf b/test/pdfs/pt-astra-serif.pdf new file mode 100644 index 0000000000000..6b79a887e50ff Binary files /dev/null and b/test/pdfs/pt-astra-serif.pdf differ diff --git a/test/test_manifest.json b/test/test_manifest.json index 03d1f1d71b4fe..19225f307de62 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -13049,5 +13049,12 @@ "rotation": 0 } } + }, + { + "id": "pt-astra-serif", + "file": "pdfs/pt-astra-serif.pdf", + "md5": "9fde8eb426f74e5a8a4fcb7b3bfbe397", + "rounds": 1, + "type": "eq" } ]