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]Font size is extremely small in reading experiment #75

Open sravyam28 opened 1 year ago

sravyam28 commented 1 year ago

Describe the bug

The reading Experiment shows extremely small font size. Working on using readingSetSizeBy parameter value to xHeightDeg to set the desired font size

To Reproduce

npm install npm run build npm run examples npm start -- --name=readingExperiment

Expected behavior

To be able to correctly set font size using readingSetSizeBy parameter. The font is not as expected to be too small.

Screenshots

Screenshot from 2023-09-27 14-26-54 Screenshot from 2023-09-27 14-27-21

Desktop (please complete the following information):

Additional context

minjungkim85 commented 1 year ago

Hi! In addition to Sravya's excellent bug report, I wanted to add that this is the table that we were using. We specified a desired viewing distance, but did not enable eye-tracking, as we have a chinrest to control the viewing distance.

"_about","Experiment", "_authors","Minjung Kim", "_debugBool","TRUE", "_online2Minutes","0", "block",,1 "calibrateBlindSpotBool",,FALSE "calibrateScreenSizeBool",,FALSE "conditionName",,reading "font",,Optimistic_Text_Rg.ttf "fontColorRGBA",,"1,1,1,1" "fontLeftToRightBool",,TRUE "fontSource",,file "instructionFont",,Roboto Mono.woff2 "instructionFontColorRGBA",,"1,1,1,1" "instructionFontSource",,file "markingColorRGBA",,"1,1,1,1" "readingCorpus",,the-phantom-tollbooth.txt "readingDefineSingleLineSpacingAs",,nominalSize "readingFirstFewWords",,The "readingLinesPerPage",,20 "readingMaxCharactersPerLine",,20 "readingMultipleOfSingleLineSpacing",,0.8 "readingNumberOfPossibleAnswers",,4 "readingNumberOfQuestions",,3 "readingPages",,4 "readingSetSizeBy",,xHeightDeg "readingXHeightDeg",,0.3 "screenColorRGBA",,"0,0,0,1" "targetKind",,reading "targetTask",,identify "viewingDistanceDesiredCm",,85