[martian] monospace font does not work #4

Closed
opened 2022-08-10 04:07:14 +00:00 by emma · 7 comments
Owner
No description provided.
sashakoshka was assigned by emma 2022-08-10 04:07:20 +00:00
emma self-assigned this 2022-08-10 04:07:36 +00:00
Owner

im completely stumped on this one tbh.

should we switch to a different monospace font (perhaps the system one) until we can figure out why this isn't working?

im completely stumped on this one tbh. should we switch to a different monospace font (perhaps the system one) until we can figure out why this isn't working?
Author
Owner

im completely stumped on this one tbh.

should we switch to a different monospace font (perhaps the system one) until we can figure out why this isn't working?

yea

> im completely stumped on this one tbh. > > should we switch to a different monospace font (perhaps the system one) until we can figure out why this isn't working? yea
Author
Owner

my browser says downloadable font: no supported format found (font-family: "Ubuntu Mono Ligaturized" style:normal weight:400 stretch:100 src index:1) source: (end of source list)

my browser says `downloadable font: no supported format found (font-family: "Ubuntu Mono Ligaturized" style:normal weight:400 stretch:100 src index:1) source: (end of source list) `
Owner

mine says that exact thing as well. im going to try and make a local html file and load the font from there to see if i get the same error. in the meantime ill make a commit temproarily replacing font family with the system monospace font.

mine says that exact thing as well. im going to try and make a local html file and load the font from there to see if i get the same error. in the meantime ill make a commit temproarily replacing font family with the system monospace font.
Owner

image

This is so odd. It appears to work perfectly in a local page.

![image](/attachments/90e183bd-876a-428a-96e8-4e43f485839f) This is so odd. It appears to work perfectly in a local page.
2.4 KiB
Owner

i have figured out a fix for the issue. the problem is the format in the font src urls is set to "ttf" when it should be "truetype" as stated here. i will change all the src attributes in the css file to correct the issue.

i have figured out a fix for the issue. the problem is the format in the font src urls is set to "ttf" when it should be "truetype" as stated [here](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face). i will change all the src attributes in the css file to correct the issue.
Owner
[fixed](https://git.tebibyte.media/meta/gitea/commit/21cd20625e3cfdfe371cf87352581e42cbe19901)
Sign in to join this conversation.
No Label
No Milestone
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meta/gitea#4
No description provided.