acl-org / aclpubcheck

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

Font problems #53

Open Askinkaty opened 1 year ago

Askinkaty commented 1 year ago

Hi!

I'm using eacl2023.sty and haven't made any changes for font but getting an error: Error (Font): Wrong font. The main font used is KCGDTY+Tempora-Regular when it should a font in {'NimbusRomNo9L-Regu', 'TimesNewRomanPSMT', 'TeXGyreTermesX-Regular', 'ICWANT+STIXGeneral-Regular'}.

I'm using Russian characters in the paper.

Thank you!

chschroeder commented 1 year ago

Hi @Askinkaty,

I had the same problem but with a different font in the error message. Might not be the same issue but for me the following lines from the template had been commented out:

% Standard package includes
\usepackage{times}
\usepackage{latexsym}

After enabling these lines again the error disappeared.

annadmitrieva commented 1 year ago

I had the same problem, also because of Cyrillic characters in my paper. Initially, to get the Russian characters to show in the document, I followed the advice from here: https://tex.stackexchange.com/a/434239 and substituted the paper template's default font to Tempora-TLF in the entire document. While it looked identical to the template, ACL pubcheck disagreed with it. So I had to switch to the other solution provided in this StackExchange answer, which is to use \fontencoding{T2A}\selectfont everywhere I needed Cyrillics, and then switch back with \fontencoding{T1}\selectfont. This command can be used in .bib files, too.

junzhuang-code commented 3 months ago

I have similar issues:

Checking paper.pdf
Errors. Check errors-paper.json for details.
Error (Font): Wrong font. The main font used is BMQQDV+DejaVuSans when it should a font in {'TeXGyreTermesX-Regular', 'NimbusRomNo9L-Regu', 'ICWANT+STIXGeneral-Regular', 'ICZIZQ+Inconsolatazi4-Regular', 'TimesNewRomanPSMT'}.

We detected 1 error and 0 warnings in your paper.
In general, it is required that you fix errors for your paper to be published. Fixing warnings is optional, but recommended.
Important: Some of the margin errors may be spurious. The library detects the location of images, but not whether they have a white background that blends in.
Important: Some of the warnings generated for citations may be spurious and inaccurate, due to parsing and indexing errors.
We encourage you to double check the citations and update them depending on the latest source. If you believe that your citation is updated and correct, then please ignore those warnings.

I attempted to solve the problem using the above solutions but they don't work in my case. Any suggestions would be appreciated. Thanks.