Text in sketchpad gets cut off
Hello everyone,
I have a problem with my experiment in OpenSesame in OSWeb. I have several sketchpads in a loop. Sentences from the loop table are displayed on these sketchpads. For example, a column in the table is named 'word_2' and on the sketchpad I have the text '{word_2}' to display the text from the column. When I run the experiment in the browser, I encounter the problem that some letters are cut off. Specifically uppercase umlauts like 'Ä' and 'Ü' are missing their dots. I thought it was a problem of displaying unconventional letters, but if I make the font size really really small, the dots show up, which indicates that they are cut off. Is there a way to fix this?
Thank you in advance,
Sophie
Comments
Hi @AHaan,
Could you please provide your experiment file?
Thanks,
Claire
Check out SigmundAI.eu for our OpenSesame AI assistant! 🤖
Hi @cvanbuck,
of course, here is the file. It's mostly in German. I hope it's still understandable.
Best,
Sophie
Hi @AHaan
I tested a few things, and changing the font (e.g., from 'mono' to 'sans') seems to fix the issue. Some fonts don’t render special characters like umlauts properly in a web environment.
Try updating the font in each sketchpad and see if it works for you. If you still need monospaced text, 'Courier New' or 'Lucida Console' display ÜÄ correctly.
You can also set another font in the experiment properties, but you'll still need to update it in each sketchpad for this solution to work.
Hope this helps!
Claire
Check out SigmundAI.eu for our OpenSesame AI assistant! 🤖
Thank you for this solution @cvanbuck, it works perfectly!