Skip to content

Commit d118413

Browse files
committed
Reset icon DPI to 96x96 (screen-res)
Output the icon bitmap images at standard 96 DPI, not the 300 DPI we temporarily scaled the coordinate system to when rasterizing the SVG. Signed-off-by: FeRD (Frank Dana) <[email protected]>
1 parent 7d59e2b commit d118413

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ endif
5757
$(icon_bitmaps_png): usbview_icon.svg
5858
mkdir -p $$(dirname $@)
5959
if HAVE_CONVERT
60-
$(CONVERT) -background none -density 300x300 -geometry $$(basename $$(dirname $$(dirname $@))) $< $@
60+
$(CONVERT) -background none -density 300x300 -geometry $$(basename $$(dirname $$(dirname $@))) -density 96x96 $< $@
6161
else
6262
echo "error: unable to generate $@ from $<"
6363
exit 1
@@ -66,7 +66,7 @@ endif
6666
$(icon_bitmaps_xpm): usbview_icon.svg
6767
mkdir -p $$(dirname $@)
6868
if HAVE_CONVERT
69-
$(CONVERT) -background none -density 300x300 -geometry $$(basename $$(dirname $$(dirname $@))) $< $@
69+
$(CONVERT) -background none -density 300x300 -geometry $$(basename $$(dirname $$(dirname $@))) -density 96x96 $< $@
7070
else
7171
echo "error: unable to generate $@ from $<"
7272
exit 1

0 commit comments

Comments
 (0)