Open andreaxhearts opened 1 month ago
Additionally, you can put an icon in a string by just putting \u____. For example, how one is used in terminal.nss for a tooltip, or how they can be used in a title,2 There doesn't seem to be a way to define a source (or color).
Re: There doesn't seem to be a way to define a source The glyphs inside double quotes are sourced from the current display font. This evident from the 2nd reference you have given. I had used Shell's own font as base and was able to utilize it's glyphs inside double quotes. After setting it as display font of course. Re: (or color) Possibly because they are not interpreted as images by shell but as literal Unicode characters.
I tried changing the font for the theme, and that's where my confusion about glyphs came from. What's being used when in a string?
I have no idea why the glyph is not showing up. It's being displayed correctly at my end.
To confirm if its an issue with Shell at your end you can try installing shell.ttf
from here. Set it as the display font and use some glyphs in titles
or tips
to see if they show up or not.
// image.glyph='Segoe Fluent Icons'
// font name for default glyph
This option exists, but it is not currently activated. I will try to activate it in the next update
I was wondering if this is related to your issue at all? Can you give an update whether the glyphs are being rendered properly or not after installing the fonts manually?
I have those four fonts installed. I was only missing Marlett and Back Button Icons before. No change there. I installed the Nilesoft Shell font you linked to as well. . . .
font
{
size = 14
name = "Segoe UI"
italic = 0
// good
}
font
{
size = 14
name = "Shell"
italic = 0
// good
}
Using any other fonts for the theme other than the above ones give missing glyphs for me.
I noticed I didn't include any operating system details in the op. I'm running Windows 10 Home x64, version 22H2 (build 19045.4651). Someone can test on Win 10 and see if it's normal or not for them too. I'm having computer trouble atm, otherwise I'd try a Win 11 vm on the nvme ssd I'd normally use.
You can already choose either the Segoe UI Fluent, Segoe MDL2 or NSS glyphs in each individual image property^1 - e.g.
image.fluent(\u____)
orimage.glyph(0x____, #ffffff, 12, "Segoe MDL2 Assets")
.Additionally, you can put an icon in a string by just putting
\u____
. For example, how one is used in terminal.nss for a tooltip, or how they can be used in a title,[^2] There doesn't seem to be a way to define a source (or color).Either case, you replace the blank part in the unicode hex with that of the glyph you want to use. IDs can be found on the website^3 (built-in glyphs, not Segoe font), Character Map, or by using a custom script: Icon Explorer.[^4]
I tried changing the font for the theme, and that's where my confusion about glyphs came from. What's being used when in a string? Setting image.glyph to something in the theme didn't change this missing icon:
What's the default font? Does Segoe UI Symbol usually get used here?
Would it be possible to be able to customize this font?
example : terminal.nss:
example :
[^2]: Discord: glyph in string
[^4]: Icon Explorer