Website Font Customization
Just a suggestion. Would it be possible for you to add an addon that allows you to customize the font on the website?
It's nothing that is really useful, but I think it would make it look better to the eyes.
This was mentioned in #645, but I don't plan to include fonts in the initial implementation of that issue so this can stay separate.
I think this would be an interesting addition, but it would only be possible to include a limited set of fonts (e.g. from Google Fonts) because there is no way to get a list of all fonts installed on a user's device.
Just a suggestion. Would it be possible for you to add an addon that allows you to customize the font on the website?
It's nothing that is really useful, but I think it would make it look better to the eyes.
Useful! Maybe @WorldLanguages or @TheColaber can help us.
no way to get a list of all fonts installed on a user's device.
Chrome has an API for this (no need to include btw)
Useful! Maybe @WorldLanguages or @TheColaber can help us.
Anyone can make this, it's so simple. The main focus is probably the UI, which is probably hard because of the way SA was made. This is probably better to have for stylus and more.
no way to get a list of all fonts installed on a user's device.
Chrome has an API for this (no need to include btw)
Useful! Maybe @WorldLanguages or @TheColaber can help us.
Anyone can make this, it's so simple. The main focus is probably the UI, which is probably hard because of the way SA was made. This is probably better to have for stylus and more.
ok. I'm new to website making BTW
Hope this will not lead to mandatory Sora on the website
Hope this will not lead to mandatory Sora on the website
What is Sora?
Hope this will not lead to mandatory Sora on the website
What is Sora?
A font
Hope this will not lead to mandatory Sora on the website
What is Sora?
A font
ok
Hope this will not lead to mandatory Sora on the website
Of course not, no changes to the Scratch website are mandatory... (do I need to explain this lol)
Hope this will not lead to mandatory Sora on the website
Of course not, no changes to the Scratch website are mandatory... (do I need to explain this lol)
hahaha
Hope this will not lead to mandatory Sora on the website
What is Sora?
Specifically, it's the font that is used on the extension.
Hope this will not lead to mandatory Sora on the website
What is Sora?
Specifically, it's the font that is used on the extension.
ok
Whoa, so many comments. This was just a small suggestion. Simply a "we do not plan to make it a feature" could've been enough. ;)
Whoa, so many comments. This was just a small suggestion. Simply a "we do not plan to make it a feature" could've been enough. ;)
We love to take stuff to great lengths
Haha
On Tue, Feb 23, 2021 at 1:04 PM Anantjit [email protected] wrote:
Whoa, so many comments. This was just a small suggestion. Simply a "we do not plan to make it a feature" could've been enough. ;)
We love to take stuff to great lengths
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ScratchAddons/ScratchAddons/issues/1646#issuecomment-784118755, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOYXEHYUSXFSNCR5XMAZCLTAODSFANCNFSM4YAIFKMA .
We never said "we do not plan to make it a feature"...it's a great idea...
I know. I said, that if you were to say it, it would've been enough since this conversation is getting quite long.
On Tue, Feb 23, 2021 at 4:08 PM Paul Reid [email protected] wrote:
We never said "we do not plan to make it a feature"...it's a great idea...
From: Philip [email protected] Sent: Tuesday, February 23, 2021 5:05:12 AM To: ScratchAddons/ScratchAddons [email protected] Cc: Subscribed [email protected] Subject: Re: [ScratchAddons/ScratchAddons] Font Customization (#1646)
Haha
On Tue, Feb 23, 2021 at 1:04 PM Anantjit [email protected] wrote:
Whoa, so many comments. This was just a small suggestion. Simply a "we do not plan to make it a feature" could've been enough. ;)
We love to take stuff to great lengths
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/ScratchAddons/ScratchAddons/issues/1646#issuecomment-784118755 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOOYXEHYUSXFSNCR5XMAZCLTAODSFANCNFSM4YAIFKMA
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/ScratchAddons/ScratchAddons/issues/1646#issuecomment-784119416>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AOT5DETUKDXYJZ3Q6LNXOC3TAODWRANCNFSM4YAIFKMA
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ScratchAddons/ScratchAddons/issues/1646#issuecomment-784227959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOYXECXB4URMKMYNWVMHPLTAOZG7ANCNFSM4YAIFKMA .
@WorldLanguages Is this rejected? https://github.com/ScratchAddons/ScratchAddons/pull/1764#issuecomment-796027234
@mxmou Not sure. If there's a non-sketchy available extension that lets you customize a website's font, and it works fine with Scratch, then it likely is.
@mxmou Not sure. If there's a non-sketchy available extension that lets you customize a website's font, and it works fine with Scratch, then it likely is.
Yes, Stylus works just fine
lol
I already made a userscript for Tampermonkey some of the @match attributes I ~stole~ borrowed from someone else's userscript for dark mode (because I would've never thought of aero-a.github.io and /*)
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://scratch.mit.edu/*
// @match https://scratch.mit.edu/projects/*
// @match https://scratch.org/projects/*
// @match https://aero-a.github.io/scratch-gui/*
// @exclude https://scratch.mit.edu/join
// @exclude https://scratch.mit.edu/accounts/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.querySelector("html").style.fontFamily = "Segoe UI";
document.querySelector("body").style.fontFamily = "Segoe UI";
document.querySelector("*").style.fontFamily = "Segoe UI";
})();
W_L hope this helps
(Edit: this is a really flexible, and this won't be the last update to the code)
No. Stylus does not work fine. Nor Tampermonkey. I think I can get it right, I have a little userstyle which changes the font to Lato... (without any stage text bugs)
the problem with this, is that the blocks are rendered according to the width of the text assuming the font is the default font, if i use a userstyle to set font to a monospaced font, it will overflow, this should be accounted by this addon (if ever implemented)
the problem with this, is that the blocks are rendered according to the width of the text assuming the font is the default font, if i use a userstyle to set font to a monospaced font, it will overflow, this should be accounted by this addon (if ever implemented)
I think the current version of this PR changes the font size of blocks to prevent that. Redrawing the blocks using the new font for measurements would be better if that's possible.
the problem with this, is that the blocks are rendered according to the width of the text assuming the font is the default font, if i use a userstyle to set font to a monospaced font, it will overflow, this should be accounted by this addon (if ever implemented)
The possibility to customize the UI font, for example by allowing to switch to "Dyslexic Font", would be of great help for people with Learning Disorders such as Dyslexia, as you can also read at https://scratch.mit.edu/discuss/topic/411561/
the problem with this, is that the blocks are rendered according to the width of the text assuming the font is the default font, if i use a userstyle to set font to a monospaced font, it will overflow, this should be accounted by this addon (if ever implemented)
The possibility to customize the UI font, for example by allowing to switch to "Dyslexic Font", would be of great help for people with Learning Disorders such as Dyslexia, as you can also read at https://scratch.mit.edu/discuss/topic/411561/
I managed to download and install the OpenDyslexic font from https://www.dafont.com/open-dyslexic.font. Then I changed the Chrome font to OpenDyslexic using the Fonts Changer extension.
I have set the "Standard font" to OpenDyslexic and "Minimum font size" to 10.
Whereas in English some text in the blocks sticks to the block's left and right side, when I switch to Italian the visualization is perfect. Only drawbacks for now:
- the frame of the sprite's, costume's and sound's thumbnails are shorter than usual. This makes the thumbnail info (e.g. costume size) a bit difficult to read
- the font in the speech bubbles on the Stage is still Arial
@sfederici editing text in vector editor is weird
@sfederici editing text in vector editor is weird
Thanks for your feedback. What do you mean? As for the Stage, I only see standard Scratch fonts in the vector editor. I tried adding a text box and I edited it without any trouble.
@sfederici editing text in vector editor is weird
Thanks for your feedback. What do you mean? As for the Stage, I only see standard Scratch fonts in the vector editor. I tried adding a text box and I edited it without any trouble.
try moving your cursor