Closed varlesh closed 2 years ago
I note that the icons do not use a font, as in your version, but are a stroke with CSS. Here is an example of the code: 24px:
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" version="1.1">
<defs>
<style id="current-color-scheme" type="text/css">
.ColorScheme-Text { color:#dfdfdf; } .ColorScheme-Highlight { color:#4285f4; } .ColorScheme-NeutralText { color:#ff9800; } .ColorScheme-PositiveText { color:#4caf50; } .ColorScheme-NegativeText { color:#f44336; }
</style>
</defs>
<g transform="translate(1,1)">
<rect style="opacity:0" width="22" height="22" x="0" y="0"/>
<path style="fill:none;stroke:currentColor;stroke-width:1.99999976;stroke-linecap:round;stroke-linejoin:bevel" class="ColorScheme-Text" d="m 5,14.999898 4.0000001,0 M 5,10.9999 l 4.0000001,0 M 5,6.9999014 l 4.0000001,0 M 5.0000998,15 l 0,-8.0000003"/>
<path style="fill:none;stroke:currentColor;stroke-width:1.99999976;stroke-linecap:round;stroke-linejoin:round" class="ColorScheme-Text" d="M 13,15 13,6.9999997 17,15 17,6.9999997"/>
</g>
</svg>
22px
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" version="1.1">
<defs>
<style id="current-color-scheme" type="text/css">
.ColorScheme-Text { color:#dfdfdf; } .ColorScheme-Highlight { color:#4285f4; } .ColorScheme-NeutralText { color:#ff9800; } .ColorScheme-PositiveText { color:#4caf50; } .ColorScheme-NegativeText { color:#f44336; }
</style>
</defs>
<rect style="opacity:0" width="22" height="22" x="0" y="0"/>
<path style="fill:none;stroke:currentColor;stroke-width:1.99999976;stroke-linecap:round;stroke-linejoin:bevel" class="ColorScheme-Text" d="m 5,14.999898 4.0000001,0 M 5,10.9999 l 4.0000001,0 M 5,6.9999014 l 4.0000001,0 M 5.0000998,15 l 0,-8.0000003"/>
<path style="fill:none;stroke:currentColor;stroke-width:1.99999976;stroke-linecap:round;stroke-linejoin:round" class="ColorScheme-Text" d="M 13,15 13,6.9999997 17,15 17,6.9999997"/>
</svg>
Sorry, closed. Problem with HiDPI
Hello, we are facing an interesting problem. When using a third-party icon theme (Papirus), the keyboard layout indicator icon is reduced. I would like to understand why? In the icon theme itself, sizes 22px and 24px are available, but apparently the wrong size is used and the icons look reduced. How it looks like:![image](https://user-images.githubusercontent.com/8083855/177024523-a7e8ce4f-83d5-4b75-815c-b461be56f267.png)
How it should look like:
Related to this: https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/3053