Skip to content

Commit

Permalink
Improve mklogo.sh and README (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Jun 29, 2021
1 parent 133974d commit 7d8c1a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GMT 中文社区 logo

**下载 Logo** [PDF 格式](gmt-china-logo.pdf) | [JPG 格式](gmt-china-logo.jpg) | [PNG 格式](gmt-china-logo.png) | [方形版本 PNG格式](gmt-china-logo-square.png)
**下载 logo** [PDF 格式](gmt-china-logo.pdf) | [JPG 格式](gmt-china-logo.jpg) | [PNG 格式](gmt-china-logo.png) | [方形版本 PNG 格式](gmt-china-logo-square.png)

![](gmt-china-logo.png)
20 changes: 10 additions & 10 deletions mklogo.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash
#!/usr/bin/env bash
#
# GMT中文社区logo
# GMT 中文社区 logo
#
gmt begin gmt-china-logo pdf,jpg,PNG
gmt coast -Rd -JI110/10c -Dc -A10000 -G230/230/230 -S160/175/217
gmt coast -ECN+g204/204/204 -EHK+g204/204/204 -ETW+g204/204/204 -EMO+g204/204/204
echo 110 -20 GMT/China | gmt text -F+f35p,19,0/0/100
gmt coast -Rd -JI110/10c -Dc -A10000 -G230/230/230 -S160/175/217
gmt coast -ECN+g204/204/204 -EHK+g204/204/204 -ETW+g204/204/204 -EMO+g204/204/204
echo 110 -20 GMT/China | gmt text -F+f35p,19,0/0/100
gmt end

# 方形版本的logo
# 方形版本的 logo
gmt begin gmt-china-logo-square PNG A+n
gmt set PS_MEDIA 10cx10c
gmt coast -Rd -JI110/10c -Dc -A10000 -G230/230/230 -S160/175/217 -Xc -Yc
gmt coast -ECN+g204/204/204 -EHK+g204/204/204 -ETW+g204/204/204 -EMO+g204/204/204
echo 110 -20 GMT/China | gmt text -F+f35p,19,0/0/100
gmt set PS_MEDIA 10cx10c
gmt coast -Rd -JI110/10c -Dc -A10000 -G230/230/230 -S160/175/217 -Xc -Yc
gmt coast -ECN+g204/204/204 -EHK+g204/204/204 -ETW+g204/204/204 -EMO+g204/204/204
echo 110 -20 GMT/China | gmt text -F+f35p,19,0/0/100
gmt end

0 comments on commit 7d8c1a0

Please sign in to comment.