acl-org / aclpubcheck

Tools for checking ACL paper submissions
MIT License
598 stars 47 forks source link

How to fix the "Wrong font" error for Vietnamese characters? #25

Open luutuntin opened 2 years ago

luutuntin commented 2 years ago

Hi team,

My paper includes Vietnamese character "ư", which is supported by the *ACL template (\usepackage[T5]{fontenc}). However, aclpubcheck gives me the following error:

Error (Font): Wrong font. The main font used is YSKDUX+VnNimbusRomanNo9L when it should a font in {'NimbusRomNo9L-Regu', 'TimesNewRomanPSMT', 'TeXGyreTermesX-Regular'}.

Could you give me some advice on this?

Best, Alex

crux82 commented 2 years ago

I think that we should add that font here:

https://github.com/acl-org/aclpubcheck/blob/ccc046f7bf24f7b4a536347c6c6c5635cfdd23bd/aclpubcheck/formatchecker.py#L347

But I would ask for a confirmation from @ryancotterell before updating the code.

In the meanwhile you can try adding that font to the list I linked above and the error should disappear.

luutuntin commented 2 years ago

Thank you so much.