logo separator

[mkgmap-dev] space before name

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Dec 6 07:59:45 GMT 2019

Hi Enrico,

mkgmap replaces duplicated blanks (' ') by a single one, so only one leading blank is written to the img file. Attached patch changes this
so that duplicated blanks are not removed.
I was surprised that leading and trailing blanks are not completely removed, probably because this is already done when the data is read from
the input file.
I assume this is related to your other post regarding positioning of POI labels. This is done by the Garmin software, so I suggest to ask Garmin if there is a way to influence that. No idea how leading blanks are treated when you search for objects, you may play with this, but I am sure it makes no sense.
Compiled binary is here:
http://files.mkgmap.org.uk/detail/457

Gerd




________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von demon_box <e.rossini7305 at gmail.com>
Gesendet: Mittwoch, 4. Dezember 2019 21:43
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] space before name

Hi I would insert 5 space carachters but I don't know how.

This work:

name=* {name 'xxxxx${name}'}

but this dont't work:

name=* {name '     ${name}'}

How can I make this?

thanks

--enrico






--
Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spaces.patch
Type: application/octet-stream
Size: 698 bytes
Desc: spaces.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20191206/0f6b766c/attachment.obj>


More information about the mkgmap-dev mailing list