Skip to content

Commit cbd49f9

Browse files
committed
Play with modern.conf
1 parent 611a61b commit cbd49f9

File tree

5 files changed

+53
-15
lines changed

5 files changed

+53
-15
lines changed

share/themes/darkmode.conf

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#
2-
# GMT 6.1.0 Defaults file for darkmode
3-
#
4-
# COLOR Parameters
5-
#
2+
# GMT 6.1.0 Defaults file for darkmode theme
63
#
74
# FONT Parameters
85
#

share/themes/inverse.conf

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#
2-
# GMT 6.1.0 Defaults file for inverse
3-
#
4-
# COLOR Parameters
5-
#
2+
# GMT 6.1.0 Defaults file for inverse theme
63
#
74
# FONT Parameters
85
#

share/themes/modern.conf

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#
2+
# GMT 6.1.0 Defaults file for modern theme
3+
#
4+
# FONT Parameters
5+
#
6+
FONT_ANNOT_PRIMARY = 12p,Palatino-Bold,black
7+
FONT_ANNOT_SECONDARY = 14p,Palatino,black
8+
FONT_HEADING = 32p,Palatino-Bold,black
9+
FONT_LABEL = 16p,Palatino-Bold,black
10+
FONT_LOGO = 8p,Helvetica,black
11+
FONT_TAG = 20p,Palatino,black
12+
FONT_TITLE = 24p,Palatino-Bold,black
13+
#
14+
# FORMAT Parameters
15+
#
16+
FORMAT_GEO_MAP = ddd:mm:ssF
17+
#
18+
# MAP Parameters
19+
#
20+
MAP_ANNOT_ORTHO = we
21+
MAP_FRAME_AXES = WeSnZ
22+
MAP_FRAME_PEN = thicker,black
23+
MAP_FRAME_TYPE = fancy
24+
MAP_FRAME_WIDTH = 3.5p
25+
MAP_GRID_PEN_PRIMARY = default,gray
26+
MAP_GRID_PEN_SECONDARY = thinner,gray
27+
MAP_VECTOR_SHAPE = 0.5
28+
#
29+
# PostScript Parameters
30+
#
31+
PS_CHAR_ENCODING = ISOLatin1+
32+
PS_CONVERT = A
33+
PS_LINE_CAP = round
34+
PS_LINE_JOIN = miter
35+
PS_MITER_LIMIT = 35
36+
PS_MEDIA = a4
37+
PS_PAGE_COLOR = floralwhite

share/themes/movie.conf

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
# Default overrides suitable for movie making
2-
COLOR_HSV_MAX_S = 0
3-
COLOR_HSV_MIN_V = 0
4-
MAP_ORIGIN_X = 0
5-
MAP_ORIGIN_Y = 0
1+
#
2+
# GMT 6.1.0 Defaults file for movie theme
3+
#
4+
# COLOR Parameters
5+
#
6+
COLOR_HSV_MAX_S = 0
7+
COLOR_HSV_MIN_V = 0
8+
#
9+
# MAP Parameters
10+
#
11+
MAP_ORIGIN_X = 0
12+
MAP_ORIGIN_Y = 0

src/gmt_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9246,8 +9246,8 @@ GMT_LOCAL int gmtinit_update_theme (struct GMT_CTRL *GMT) {
92469246
GMT->current.setting.update_theme = false;
92479247
if (!strcmp (GMT->current.setting.theme, "classic")) /* Just reload the classic defaults */
92489248
gmtinit_conf_classic (GMT);
9249-
else if (!strcmp (GMT->current.setting.theme, "modern")) /* Just reload the modern defaults */
9250-
gmtinit_conf_modern (GMT);
9249+
//else if (!strcmp (GMT->current.setting.theme, "modern")) /* Just reload the modern defaults TESTING VIA MODERN.CONF FOR NOW */
9250+
// gmtinit_conf_modern (GMT);
92519251
else if (gmt_getsharepath (GMT, "themes", GMT->current.setting.theme, ".conf", theme_file, R_OK)) { /* Load given theme */
92529252
error = gmtinit_loaddefaults (GMT, theme_file);
92539253
}

0 commit comments

Comments
 (0)