Skip to content

Allow FONT_LOGO to change font color #7125

@seisman

Description

@seisman

Description of the problem

As shown in the example below, FONT_LOGO can't change the size and color of the timestamp and label.

gmt basemap -R0/10/0/5 -JX5c/3c -Baf -UMylabel --FONT_LOGO=20p,Times-Bold,red -png map

map

Here are two issues:

  1. I understand that the font size can't be changed because the size of the timestamp strings must match the height of the graphic "GMT" logo, but why can't the font color be changed?

  2. The gmt.conf documentation says

    Font to use for text plotted as part of the GMT time logo [theme dependent]. Choose auto for automatic scaling with plot size."

    The description is inaccurate and misleading because the font size can't be scaled automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions