EasyEyes / threshold

A PsychoJS-based experiment generator for the measuring various psychometric thresholds, e.g., crowding.
MIT License
3 stars 1 forks source link

[BUG]the output font does not match the font specified in the table #86

Open sravyam28 opened 1 month ago

sravyam28 commented 1 month ago

Describe the bug

the output font does not match the font specified in the table

To Reproduce

add the below table to tables folder and run using npm start SGSampleTable.csv

Expected behavior

the font on the experiment should be the one specified in the table

Screenshots output font

Desktop (please complete the following information):

denispelli commented 1 month ago

Dear Sravyam Thx. I used a font-identification website to identify the font in your screenshot, it seems to be Times New Roman, which is very different from Optimistic, confirming your bug report.

We have mostly used fonts in woff2 format, so that is the most tested case. EasyEyes should support the ttf format too, but it has been tested very little. Optimistic_Text_Rg.ttf Roboto Mono.woff2

When submitting bug reports, it's ideal to share an export.zip archive. Once you've compiled your experiment in EasyEyes, click the "Export" button. This zip includes the spreadsheet and any required resources. In this case, it would include the Optimistic and Roboto Mono font files. Providing an export.zip archive is a big help to the programmer trying to replicate and fix a bug.

Sourcing Roboto Mono from a file is fine. You can also get it from Google Fonts by setting instructionFontSource=google. In that case I think the font name would be "Roboto Mono".

Thanks for the report. We'll fix the bug.

denispelli commented 3 weeks ago

Now resolved. See email to MJ and sravyam28 August 21, 2024.