Modify

Ticket #1577 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

add a preference to set the font size for icon names

Reported by: florian.schmitt@… Owned by: framm
Priority: minor Component: Core
Version: latest Keywords: font icon fontsize preference
Cc:

Description

Hi, i think it would be fine to have a way to set the font size (maybe the font familiy, too) using a preference. This would mean to:

  • add a preference, for example font.iconname.size holding a positive integer;
  • modify MapPaintVisitor.java: don't initialize the font on definition (line 48), move the initialization to visitAll() (line 318), for example with:
orderFont = new Font(
                "Helvetica",
                Font.PLAIN,
                Main.pref.getInteger("font.iconname.size", 8)
);

Attachments

Change History

comment:1 Changed 3 years ago by anonymous

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r992.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.