Add missing hidpi assets
|
Before Width: | Height: | Size: 727 B After Width: | Height: | Size: 962 B |
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 922 B |
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 929 B |
|
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 883 B |
|
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 883 B |
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 978 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 527 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 461 B |
|
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 461 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 564 B |
|
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 931 B |
|
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 931 B |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 887 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 727 B After Width: | Height: | Size: 962 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 527 B |
|
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
# Thanks to the GNOME theme nerds for the original source of this script
|
||||
|
||||
import os
|
||||
import sys
|
||||
import xml.sax
|
||||
@@ -32,9 +30,9 @@ def wait_for_prompt(process, command=None):
|
||||
return
|
||||
|
||||
output += process.stdout.read(1)
|
||||
while output != b'\n>':
|
||||
output += process.stdout.read(1)
|
||||
output = output[1:]
|
||||
# while output != b'\n>':
|
||||
# output += process.stdout.read(1)
|
||||
# output = output[1:]
|
||||
|
||||
|
||||
def start_inkscape():
|
||||
@@ -51,7 +49,7 @@ def inkscape_render_rect(icon_file, rect, output_file):
|
||||
if inkscape_process is None:
|
||||
inkscape_process = start_inkscape()
|
||||
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)
|
||||
)
|
||||
optimize_png(output_file)
|
||||
|
||||