numbbo / coco

Numerical Black-Box Optimization Benchmarking Framework
https://numbbo.github.io/coco
Other
262 stars 87 forks source link

Errors when submit the camera-ready version #2112

Closed NDManh closed 2 years ago

NDManh commented 2 years ago

Hi,

when I try to submit the camera-ready version (a pdf file) on https://ssl.linklings.net/conferences/gecco/, I encounter the following error on the submission system:

'' Errors: Your changes have not been saved; please correct the errors below and resubmit. The 'Paper Upload' file contains these fonts with types which are not allowed: DejaVuSans: Type 3 These font types are allowed: CID TrueType, CID Type 0C, CID Type 0C (OT), TrueType, Type 1, Type 1C Tip: if you are having difficulty finding and changing the use of a font in Microsoft Word, it sometimes helps to (1) "select all" and then change the font. That can help change fonts that are only used in whitespace. Also, (2) click on each image in the document and select the correct font in the menu bars. Even though this doesn't affect the image, it changes the fonts that the document believes it is using. ''

Then I read the page: https://gecco-2022.sigevo.org/Paper-Submission-Instructions, I found that

" (c) You MUST use Type 1/TrueType fonts for your submission. All fonts must be embedded_. Type 3 fonts are NOT acceptable. For help on obtaining the correct type of fonts and other formatting issues, see: https://www.acm.org/publications/proceedings-template. Python's matplotlib uses Type 3 fonts by default. You need to configure matplotlib to use TrueType fonts with: import matplotlib matplotlib.rcParams['pdf.fonttype'] = 42 matplotlib.rcParams['ps.fonttype'] = 42 "

So, it seems that the error comes from the figures generated by the coco post processing. Can you help me to fix it? Also, when I try to turn off all figures and tables in latex, the submission is passed.

brockho commented 2 years ago

Hi,

Try to use the --include-fonts parameter when calling the postprocessing. This should include all fonts as needed (at least last year, it was sufficient to pass the test on the GECCO/Linklings site).

Please let us know in case this is still not working.

NDManh commented 2 years ago

@brockho : Thank you very much! It worked :-)