navit-project.org
http://forum.navit-project.org/

Change map font size
http://forum.navit-project.org/viewtopic.php?f=6&t=632
Page 1 of 1

Author:  Ashraf [ 20 May 2017, 21:17 ]
Post subject:  Change map font size

Hello,
I am working on a project where I am showing map on a lcd screen.OS is debian.I am trying to increase the font size on the map but cant find any info on that.I ran a check on navit.xml to see if something like this is there but cant find anything that changes font size for streets.Also some writings are unreadable(rectangular boxes).How to fix that? would I have to install some font? I assume that the fonts for those unreadable things would be bengali so would downloading a bengali font help?

Thanks

Author:  zintor [ 25 May 2017, 20:33 ]
Post subject:  Re: Change map font size

Hi Ashraf!

For adjusting the font size you have to change font size in navit.xml in the layout element.
You can define the text size of each "item_types" in the element "itemgra".

For example:
Code:
                <itemgra item_types="highway_city,highway_land,street_4_city,street_4_land,street_n_lanes" order="10-13">
                    <text text_size="9"/>
                </itemgra>


Please have a look at:
http://wiki.navit-project.org/index.php/Configuration/Layout_Options
for more information.

Best regards,
zintor

Author:  Ashraf [ 26 May 2017, 21:58 ]
Post subject:  Re: Change map font size

hello,
Thanks a ton for the reply!!! btw,under layout there many layers.I have to put this under "labels" right?

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/