Modify

Opened 16 years ago

Closed 16 years ago

#1577 closed enhancement (fixed)

add a preference to set the font size for icon names

Reported by: florian.schmitt@… Owned by: framm
Priority: minor Milestone:
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 (0)

Change History (1)

comment:1 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r992.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.