aclpubcheck icon indicating copy to clipboard operation
aclpubcheck copied to clipboard

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

Open luutuntin opened this issue 3 years ago • 2 comments

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

luutuntin avatar Apr 15 '22 18:04 luutuntin

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.

crux82 avatar Apr 16 '22 08:04 crux82

Thank you so much.

luutuntin avatar Apr 16 '22 12:04 luutuntin