Add missing hidpi assets
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 822 B |
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 822 B |
|
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 857 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 426 B |
|
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 426 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 365 B |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 372 B |
|
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 390 B |
|
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 390 B |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 372 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 800 B |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 800 B |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 800 B |
|
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 615 B |
|
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 615 B |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 800 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 756 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 887 B After Width: | Height: | Size: 873 B |
|
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 836 B |
|
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 365 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 800 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
# Thanks to the GNOME theme nerds for the original source of this script
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import xml.sax
|
import xml.sax
|
||||||
@@ -32,9 +30,9 @@ def wait_for_prompt(process, command=None):
|
|||||||
return
|
return
|
||||||
|
|
||||||
output += process.stdout.read(1)
|
output += process.stdout.read(1)
|
||||||
while output != b'\n>':
|
# while output != b'\n>':
|
||||||
output += process.stdout.read(1)
|
# output += process.stdout.read(1)
|
||||||
output = output[1:]
|
# output = output[1:]
|
||||||
|
|
||||||
|
|
||||||
def start_inkscape():
|
def start_inkscape():
|
||||||
@@ -51,7 +49,7 @@ def inkscape_render_rect(icon_file, rect, output_file):
|
|||||||
if inkscape_process is None:
|
if inkscape_process is None:
|
||||||
inkscape_process = start_inkscape()
|
inkscape_process = start_inkscape()
|
||||||
wait_for_prompt(inkscape_process,
|
wait_for_prompt(inkscape_process,
|
||||||
'--export-dpi=180 %s -i %s -e %s'
|
'export-dpi:180; file-open:%s; export-id:%s; export-filename:%s; export-do'
|
||||||
% (icon_file, rect, output_file)
|
% (icon_file, rect, output_file)
|
||||||
)
|
)
|
||||||
optimize_png(output_file)
|
optimize_png(output_file)
|
||||||
|
|||||||