Estuary remove blue background blur
#46
(2021-02-02, 19:47)FXB78 Wrote: You're over-complicating it, start again and just change these two lines:

xml:
<texture background="true" colordiffuse="98FFFFFF">$VAR[MediaFanartVar]</texture>

xml:
<texture colordiffuse="3FFFFFFF">colors/white.png</texture>
Okay thanks it works... Now, is it possible to change this line : 
xml:
<texture background="true" colordiffuse="98FFFFFF">$VAR[MediaFanartVar]</texture>
and put FFFFFFFF instead of 98FFFFFF but with readable texts ? For example by adding a black outline to the font ?
Reply
#47
No problem if it is not possible because what you said suits me but I would like to give it a try
Reply
#48
You'd have to add <shadowcolor>text_shadow</shadowcolor> to whichever text elements you want to want to have a drop shadow. I've no idea which ones they are though, I suspect you'd have to dig further into the xml files to find the appropriate sections.
Reply
#49
It is everything in this red rectangle :Image
Reply
#50
I don't know which file defines that text box, and your screenshot is a prime example of why the dimming effect is on the skin in the first place, without it text becomes unreadable.
Reply
#51
Okay thanks, but I would like to try to put FFFFFFFF instead of 98FFFFFF as I said... But if I do that the text is unreadable so I would like to add outlines arround letters... Is it hard to find the right file ?
Reply
#52
(2021-02-02, 22:47)Bungee_G Wrote: It is everything in this red rectangle :Image

That is done in https://github.com/xbmc/xbmc/blob/master...#L107-L116

But as you can see it already has a shadowcolour

xml:
<shadowcolor>text_shadow</shadowcolor>

The text_shadow is a skin wide parameter that comes from https://github.com/xbmc/xbmc/blob/master...ts.xml#L15

So it is hex code 22000000 in other words a transparent black.

Try changing it in that defaults.xml file to FF000000 for a solid black

But whatever you do, there is going to be some element of compromise so you won't get it exactly how you want unless you are prepared to learn how to skin https://kodi.wiki/view/Skinning_Manual
Reply
#53
thanks but it is not what I asked, what I would like is a black outline and not a shadow... Like that :Image
Reply
#54
By following your link, I found out something... What if I do that :
Under <shadowcolor>text_shadow</shadowcolor> in : https://github.com/xbmc/xbmc/blob/master...#L107-L116
I add this line <font>newname</font>
then, I create in font.xml a new font named newname and I add a style line <style></style>
And in this line <style></style> I add the outline font... But I don't know how to write that, for example I write bold if I want a bold text but I don't know what is the word to add a black outline on the letters

But are the steps corrects ?
Reply
#55
Yes the steps are correct but I'm not sure it there is a outline style available in the font ttf file.

There also another way, when a textbox or label control is used and the font is not specified within the control then that means it uses the skin default parameter for the control font, so for a textbox the defaults are https://github.com/xbmc/xbmc/blob/master...ml#L49-L53 which tells you the default font is font13 for a textbox.

So you can add a new font definition in font.xml and change that line https://github.com/xbmc/xbmc/blob/master...ts.xml#L52 to your new font definition and then it will be used everywhere a textbox uses it's default font.
Reply
#56
Yes, I think I can't with my steps add a outline style... I can read from the kodi wiki that " True type fonts must have a .ttf suffix. For a true type font it is possible to define the size (default 20) and a style normal, bold, italics, or bolditalics. Frodo also includes lowercase or uppercase. Isengard includes capitalize. Jarvis includes lighten."
So that means, it is not possible to define a outline style with the style line... So how can I do that ?
Reply
#57
You can use your own font if you find one that suits, see https://kodi.wiki/view/Fonts
Reply
#58
I like the one that is already used, I only want to add to it a black outline arround letters
Reply
#59
Not possible, it must be available as a style within the font ttf file.
Reply
#60
Can I know where is stored the font file of this textbox... Whats I want to do is to find the font file of the text I want to change and then I upload the file on a website which can change the font style then I change the old file by the new one... Is it possible ? (I don't know If you understand what I said)
Reply

Logout Mark Read Team Forum Stats Members Help
Estuary remove blue background blur0