Modify ↓
Ticket #1577 (closed enhancement: fixed)
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
Note: See
TracTickets for help on using
tickets.



Fixed in r992.