From 163fd30d25a832fce2080d51d2514bc7b1ebb44b Mon Sep 17 00:00:00 2001 From: Sean Ho Date: Mon, 20 Feb 2023 01:34:33 +0800 Subject: [PATCH] fix(Grid2GMT): "FONT_HEADING" option in gmtset is diabled due to the option only supports GMT 6.x --- src/Grid2GMT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grid2GMT.c b/src/Grid2GMT.c index 2c92d8d..a5b8e9a 100644 --- a/src/Grid2GMT.c +++ b/src/Grid2GMT.c @@ -536,7 +536,7 @@ int GenGMTCommands(char cplotmode, char cdatatype, #ifdef GMT_VER_5 fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset FONT_ANNOT_PRIMARY 14 FONT_ANNOT_SECONDARY 14 FONT_TITLE 14\n\n"); fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset PS_PAGE_ORIENTATION portrait MAP_ORIGIN_X 0.5 MAP_ORIGIN_Y 0.5 \n\n"); - fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset FONT_ANNOT_PRIMARY 8 FONT_ANNOT_SECONDARY 6 FONT_HEADING 12 FONT_LABEL 10\n\n"); + fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset FONT_ANNOT_PRIMARY 8 FONT_ANNOT_SECONDARY 6 FONT_LABEL 10\n\n"); // "FONT_HEADING 12" is diabled due to he option only supports GMT 6.x fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset MAP_LABEL_OFFSET 0.1c MAP_ANNOT_OFFSET_PRIMARY 0.1c MAP_ANNOT_OFFSET_SECONDARY 0.1c\n\n"); fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset GMT_VERBOSE i\n\n"); #else