Thread: Navit on N900
View Single Post
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#658
Originally Posted by rdorsch View Post
You can do an

$ apt-get source navit

then you should get the source and the build directory.

Then debian/rules contains the configuration

# scale all gui icons
DEB_CONFIGURE_EXTRA_FLAGS += --enable-svg2png-scaling="16 24 32 48 64" \
--enable-svg2png-scaling-flag="16 24 32" \
--enable-svg2png-scaling-nav="16 32 48 64"

I never changed that. Can you explain what the three parameters are doing and what settings you are recommending?

Thanks.
As the wiki page I linked above says, you can set the size of the icons in internal menu (where one sets targets and so on) like this:

Code:
<gui type="internal" icon_xs="32" icon_s="96" icon_l="96" />
I have tried this settings as bigger icons are touch-friendlier. However, it does not work with flags as they are not scaled due to the compile options you are using. If I understand it correctly, each number in "--enable-svg2png-scaling-flag="16 24 32" (in this example 16, 24, 32) causes icons of corresponding type (16x16, 24x24, 32x32) to be generated. It would inflate the size of the package, but I do not think that would be such an issue.

I think that:
Code:
DEB_CONFIGURE_EXTRA_FLAGS += --enable-svg2png-scaling="16 24 32 48 64 72 96" \
                             --enable-svg2png-scaling-flag="16 24 32 48 64" \
                             --enable-svg2png-scaling-nav="16 32 48 64 72 96"
would be sufficent for me. I would compile the packages myself but I hav enever recompiled anything for N900.