-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow FONT_LOGO to change font color #7125
Comments
We could change things so that the time stamp, or just the custom label, could take on the color of LOGO_FONT. But I suspect some of the documentation here is stale anyway: The timestamp is a fixed size item that only makes sense for paper copy figures and the size is fixed at 8 points. However, while the width of the time-stamp box is adjusted to fit the font type we could allow the color to change. Would you just want the -U label to change color or also the date? So potential changes:
What say you @joa-quim ? |
I say that I want something more and had even implemented it but can't find it right now. It was something to add a author, probably in the place of time. Will search better tonight. |
I suppose we can consider that as a modifier addition. Bedtime up north though. |
Yes, I think these changes all make sense.
The +t modifier also sounds good. |
* Let -U take +ttext to override time stamp See #7125 for background. This PR implements the +ttext modifier where text overrides the UNIX time stamp in the box. Closes #7125. * Update explain_-U.rst_ * Update gmt_common_longoptions.h * LOGO not sizeable * More updates Remove from list of auto sized features and the corresponding coding. * Update gmt_init.c One more fix * Update doc/rst/source/gmt.conf.rst Co-authored-by: Dongdong Tian <[email protected]> Co-authored-by: Dongdong Tian <[email protected]>
Description of the problem
As shown in the example below,
FONT_LOGO
can't change the size and color of the timestamp and label.Here are two issues:
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?
The gmt.conf documentation says
The description is inaccurate and misleading because the font size can't be scaled automatically.
The text was updated successfully, but these errors were encountered: