Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#18095 closed enhancement (fixed)

provide a way to easily change mappaint font size

Reported by: richlv Owned by: team
Priority: normal Milestone: 20.01
Component: Core mappaint Version: tested
Keywords: font size settings Cc:

Description

As explained in #11752, the mappaint.fontsize setting mostly does not work.
While there's a workaround provided, it is fairly cumbersome for a temporary change. Fairly frequently I want to change the font size for short while only (for example, when demonstrating JOSM usage or creating screenshots).

It would be great if there was some easy way to override the font size without all the steps, involving styles.

Attachments (0)

Change History (8)

in reply to:  description comment:1 by Klumbumbus, 5 years ago

Replying to richlv:

all the steps, involving styles.

What are "all the steps"? Activating an additional style is 1, max. 2 clicks away.

comment:2 by richlv, 5 years ago

That's true, but changing the font size also involves editing the mapcss file.
While not terribly bad, it's still a bit cumbersome.

Would a property that overrides styles be possible?

in reply to:  2 comment:3 by Klumbumbus, 5 years ago

Replying to richlv:

That's true, but changing the font size also involves editing the mapcss file.

You can use several styles, e.g. L, XL and XXL, and in every situation you activate the one you need. That requires mapcss editing only once.

comment:4 by stoecker, 5 years ago

Don't we have preferences in MapCSS? Couldn't the font size be one value?

comment:5 by Klumbumbus, 5 years ago

That would require point two of #10435.

comment:6 by Don-vip, 5 years ago

Component: CoreCore mappaint
Keywords: font size settings added

comment:7 by simon04, 4 years ago

Resolution: fixed
Status: newclosed

In 15731/josm:

see #10435, fix #18095 - MapCSS: add settings of type string/double

comment:8 by simon04, 4 years ago

Milestone: 20.01
setting::place_font_size {
  type: double;
  label: tr("Set place name font size...");
  default: 11;
}

+node.place, way.place, area.place {
  font-size: setting("place_font_size");
}

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.