Page 1 of 1
Fixed width font in EOS
Posted: Tue Feb 03, 2026 10:24 pm
by monopolist
Hi, I've noticed that the default font is not fixed width, which makes ascii art hard to use.
I tried adding a tag
Code: Select all
<div style='font-family: monospace;'>
, but that didn't work. Is there a way to get a fixed width font?
(Only really relevant if it is possible to get fixed width) Also, is it possible to get multiple spaces in a row to show. It seems to get squashed into a single space if I do this.
Re: Fixed width font in EOS
Posted: Wed Feb 04, 2026 12:41 pm
by Thamrill
monopolist wrote: Tue Feb 03, 2026 10:24 pm
Hi, I've noticed that the default font is not fixed width, which makes ascii art hard to use.
I tried adding a tag
Code: Select all
<div style='font-family: monospace;'>
, but that didn't work. Is there a way to get a fixed width font?
(Only really relevant if it is possible to get fixed width) Also, is it possible to get multiple spaces in a row to show. It seems to get squashed into a single space if I do this.
Unfortuantely no, there is no way to use monospace fonts, I tried experimenting a bit with this in this technical tease, but to no avail
https://milovana.com/webteases/showteas ... 88990b5703
edit: I checked back my tease and seems like notifications are broken again
Re: Fixed width font in EOS
Posted: Wed Feb 04, 2026 12:42 pm
by Thamrill
monopolist wrote: Tue Feb 03, 2026 10:24 pm
(Only really relevant if it is possible to get fixed width) Also, is it possible to get multiple spaces in a row to show. It seems to get squashed into a single space if I do this.
This only happens in notifications, right? In normal Say actions it should be possible to add multiple spaces
Re: Fixed width font in EOS
Posted: Wed Feb 04, 2026 9:29 pm
by monopolist
Thamrill wrote: Wed Feb 04, 2026 12:42 pm
monopolist wrote: Tue Feb 03, 2026 10:24 pm
(Only really relevant if it is possible to get fixed width) Also, is it possible to get multiple spaces in a row to show. It seems to get squashed into a single space if I do this.
This only happens in notifications, right? In normal Say actions it should be possible to add multiple spaces
I had a say action that was supposed to draw ascii art (the string was generated by calling a function defined in the init script, not that that should be relevant) and it was squashing spaces.