Skip to content

Commit 962af82

Browse files
authored
Merge pull request #362 from pppppop65/main
feat(styles_and_formulas.py): Add support for LinLibertine and txsys fonts.
2 parents a5f60fa + e4814a2 commit 962af82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

babeldoc/document_il/midend/styles_and_formulas.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,8 @@ def is_formulas_font(self, font_name: str) -> bool:
608608
r"|.*Amerigo.*"
609609
r"|.*MSGloriolaIIStd.*"
610610
r"|.*CMU.+"
611+
r"|.*LinLibertine.*"
612+
r"|.*txsys.*"
611613
r")$"
612614
)
613615
precise_formula_font_pattern = (
@@ -645,7 +647,7 @@ def is_formulas_font(self, font_name: str) -> bool:
645647
r"|.*KpMath.*"
646648
r"|.*Lete Sans Math.*"
647649
r"|.*LeteSansMath.*"
648-
r"|.*LinLibertineO.*"
650+
# r"|.*LinLibertineO.*"
649651
r"|.*Linux Libertine O.*"
650652
r"|.*LibertinusMath-Regular.*"
651653
r"|.*Libertinus Math.*"

0 commit comments

Comments
 (0)