You are not logged in.

#1 2019-09-15 11:35:15

SpitRider
Member
Registered: 2019-06-12
Posts: 5

Font size of city labels

Hi! I'm compiling OSM for Garmin using Generic new style. And I'd like to make the font size of city labels slightly bigger, at least the same as for street labels (see "Bilohorshcha" city label and others street labels in the picture for comparison).
EKFjZjI.png
Is it somehow possible to change it in the TYP file or city label size is an unchangeable Garmin property? My device is Edge 1030. Thanks.

Offline

#2 2019-09-15 16:00:15

ligfietser
Member
Registered: 2008-10-09
Posts: 5,309
Website

Re: Font size of city labels

Yes, you need to change FontStyle=SmallFont into FontStyle=Default in the TYP file in order to control it on your Garmin device. Or, use LargeFont:

[_point]
Type=0x004
SubType=0x00
String1=0x00,city
ExtendedLabels=Y
FontStyle=LargeFont
CustomColor=No
DayXpm="20 20 3 1"   Colormode=16
"!	c #FFFFFF"
"#	c #000000"
"  	c none"
"                    "
"                    "
"                    "
"                    "
"                    "
"                    "
"                    "
"         !!         "
"        !##!        "
"       !####!       "
"       !####!       "
"        !##!        "
"         !!         "
"                    "
"                    "
"                    "
"                    "
"                    "
"                    "
"                    "
;12345678901234567890
[end]

BTW the type values for other places are:
place=town 0x008
place=village 0x008
place=suburb 0x00a

Last edited by ligfietser (2019-09-15 16:08:43)

Offline

#3 2019-09-16 00:07:00

SpitRider
Member
Registered: 2019-06-12
Posts: 5

Re: Font size of city labels

ligfietser, many thanks for this! The thing is that these 4 types of points are present only in "generic" TYP file but not in "generic new". So I simply added them there and set FontStyle=NormalFont and therefore got the same font size as for street names.

Offline

Board footer

Powered by FluxBB