Opened 7 years ago

Last modified 7 years ago

#17548 closed defect

font-size not working at node image — at Version 5

Reported by: Allroads Owned by: Allroads
Priority: normal Milestone:
Component: Core mappaint Version: tested
Keywords: mapcss Cc:

Description (last modified by Don-vip)


text: "maxheight";
text-color: #ff0000;
text-halo-color: #262626;
text-halo-opacity: 0.8 ;
text-halo-radius: 1.5;
text-anchor-horizontal: center;
text-anchor-vertical: below;
/* NO MAXHEIGHT height_restrictor, */
node|z18-["barrier"="height_restrictor"][!maxheight]{
text: tr("?");
font-size: 25;  
text-color: #ffff00;

I can not make the text-size bigger.

This is on JOSM zoom level 25.

Thanks, for looking into it.

Change History (6)

by Allroads, 7 years ago

Attachment: fontsize.JPG added

comment:1 by Allroads, 7 years ago

Description: modified (diff)

comment:2 by Klumbumbus, 7 years ago

Owner: changed from team to Allroads
Status: newneedinfo

Works for me with the code snippets.

Attach your complete style and a sample osm file if further investigation is required. Also check other active styles and the order of your styles in your list of styles. An active style lower in the list will override a style higher in the list.

comment:3 by Allroads, 7 years ago

Then I have to investigate further.
The style I have only on my PC, with this section in it as development style.

Thanks.

comment:4 by Klumbumbus, 7 years ago

You may also check the java console. When you save your local file and josm reloads it automatically it prints e.g. 2019-04-01 22:37:23.789 INFORMATION: Source new icons3 has been modified. Reloading it... in the console. If there are systanx errors in your style you will get a error message there.

comment:5 by Don-vip, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.