Closed zagortenay333 closed 9 years ago
Not sure whether this is an issue with this applet or with something else
Please look into it and let me know.
From what I can see it's the applets fault. I didn't manage to find any selector that can modify it, and all themes have the same issue.
I'm afraid I don't know much about fonts. I can barely spot a difference between the letters "C" in your screencap.
How can I reproduce the problem?
I didn't manage to find any selector that can modify it,
$ git grep font
# stylesheet.css:14: font-size: 35px;
# stylesheet.css:58: font-size: 90%;
You are using the default theme; that one has the same sans font, so you can't see a difference. Try using one of my themes, which use the Droid Sans font.
I don't understand what that grep stuff is about. ._."
The only selector which right now has an effect on this is .applet-label, and I cannot change the font using it, only the color.
Hmm. Looking bit more closely, it seems that only the units "°C" ąnd "°F" are not the droid sans font. The number and conditions have the correct font. Also numix-cinnamon
Notice how in your screenshot the F from the unit is not the same as the F from "Feb". Then again, at least in your case the font did change between the two themes you showed. In my case it stays the same no matter what theme I use.
Then again, at least in your case the font did change between the two themes you showed. In my case it stays the same no matter what theme I use.
Which version of Cinnamon are you running? I'm on LMDE.
$ cinnamon --version # 2.0.14
I'm running 2.4.6.
Well, if it's a unicode character then that would explain it I guess. Is there any reason for that, or can it just be normal text?
Internationalization, I guess. It shouldn't translate the way a bare letter C/F would.
Maybe I'm not calling something I should be in 2.4 for a TextApplet
to participate in system theming. I'll look into that.
Can you take a screenshot of your panel showing the weather applet's font mismatched beside, say, the calendar applet?
I wrote above that only the °C character appears to be mismatched because its a unicode character. The rest looks fine.
You are right though, didn't think that a C in this case shouldn't be translated. I guess it should be left as is then.
I guess this applet doesn't use a unicode character then: http://cinnamon-spices.linuxmint.com/applets/view/198
The rest looks fine.
Am I correct in understanding there is no problem here:
Then again, at least in your case the font did change between the two themes you showed. In my case it stays the same no matter what theme I use.
I guess this applet doesn't use a unicode character then
See here, if I'm not mistaken.
The weird thing is, you showed two screenshots there, one with then numix theme and one with the default theme, and the unicode °F did change as far as I can see. That doesn't happen on my machine. O_o
Hmm, if both these applets use a unicode characther, how come the C's look different in my screenshot at the top?
I see what you're telling me: the horizontal legs of the '℉' \u2109
are 1 vs. 2 pixels apart.
2.4, system default font applied to ℉ character 2.0, theme font correctly applied to ℉ character
Maybe it's a bug in 2.4?
Yeah, I just figured that he only uses the ° unicode. I guess nothing can be done in that case.
Also, it seems that droid-sans doesn't support unicode, only droid sans fallback. That's why the °C is borrowed from the sans font in my themes.
droid-sans doesn't support unicode, only droid sans fallback
That's good to know. Thanks for reporting it.
I might actually open an issue on the other guys applet to ask whether he could use the '°C' unicode instead of only '°'
Not sure whether this is an issue with this applet or with something else, but I noticed that the font in the panel doesn't change from the default sans font. Here is another text applet next to it with the Droid sans font: